fix whitespaces

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>
pcap: stop uloop if there is error on write

Signed-off-by: Luka Perkov <luka.perkov@sartura.hr>