Blame SOURCES/arpwatch-2.1a15-lookupiinvalid.patch

1b6bc8
diff -up ./arpwatch.c.iinval ./arpwatch.c
1b6bc8
--- ./arpwatch.c.iinval	2012-10-15 16:55:58.646218256 +0200
1b6bc8
+++ ./arpwatch.c	2012-10-15 17:04:30.566199946 +0200
1b6bc8
@@ -171,7 +171,7 @@ try_dev(char *interface, pcap_t **pd, in
1b6bc8
 	timeout = 1000;
1b6bc8
 
1b6bc8
 	*pd = pcap_open_live(interface, snaplen, 1, timeout, errbuf);
1b6bc8
-	if (NULL == pd) {
1b6bc8
+	if (NULL == *pd) {
1b6bc8
 		syslog(LOG_ERR, "pcap open %s: %s", interface,  errbuf);
1b6bc8
 		return NULL;
1b6bc8
 	}