74c74
< if (verbose > 1) \
---
> if (verbose >= 1) \
79c79
< if (verbose > 2) \
---
> if (verbose >= 2) \
129c129
< panic("Can't create socket!");
---
> panic("Can't create socket!\n");
135c135
< panic("setsockopt() SO_REUSEADDR failed!");
---
> panic("setsockopt() SO_REUSEADDR failed!\n");
151c151
< panic("bind() failed!");
---
> panic("bind() failed!\n");
154c154
< panic("listen() failed!");
---
> panic("listen() failed!\n");
166c166
< panic("accept() failed!");
---
> panic("accept() failed!\n");
191c191
< panic("could not connect to %s on port %d", host, port);
---
> panic("could not connect to %s on port %d\n", host, port);
271a272
> memset(errbuf, 0, sizeof errbuf);
278c279
< if (!pcap_lookupnet(device, &localnet, &netmask, errbuf))
---
> if (pcap_lookupnet(device, &localnet, &netmask, errbuf) == -1)
287a289,290
> if (!ethernet)
> panic("cannot open the ethernet device for writing\n");
314a318
> DPRINTF("Begin poll loop\n");
395c399,400
< else
---
> else {
> DPRINTF("Calling it quits because of poll error\n");
396a402
> }
402d407
<