tags 439448 +patch
thanks

Hi!

The attached patch just comments out the pcap_lookupnet function to
use libpcap's version and gets rid of this RC bug.

HTH.

Kumar
-- 
Kumar Appaiah,
458, Jamuna Hostel,
Indian Institute of Technology Madras,
Chennai - 600 036
diff -urN ttt-1.7.0/pcap_inet.c ttt-1.7/pcap_inet.c
--- ttt-1.7.0/pcap_inet.c	2007-08-27 23:22:06.000000000 +0530
+++ ttt-1.7/pcap_inet.c	2007-08-27 23:23:00.000000000 +0530
@@ -146,7 +146,8 @@
 	return (device);
 }
 
-int
+/* Commented out to use libpcap's pcap_lookupnet function. */
+/*int
 pcap_lookupnet(device, netp, maskp, errbuf)
 	register char *device;
 	register u_int *netp, *maskp;
@@ -194,3 +195,4 @@
 	*netp &= *maskp;
 	return (0);
 }
+*/

Reply via email to