SOURCES: libpcap-any_device.patch (NEW) - "any" device fix
zbyniu
zbyniu at pld-linux.org
Mon Jan 19 03:52:39 CET 2009
Author: zbyniu Date: Mon Jan 19 02:52:38 2009 GMT
Module: SOURCES Tag: HEAD
---- Log message:
- "any" device fix
---- Files affected:
SOURCES:
libpcap-any_device.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: SOURCES/libpcap-any_device.patch
diff -u /dev/null SOURCES/libpcap-any_device.patch:1.1
--- /dev/null Mon Jan 19 03:52:39 2009
+++ SOURCES/libpcap-any_device.patch Mon Jan 19 03:52:33 2009
@@ -0,0 +1,11 @@
+--- libpcap-1.0.0/pcap-linux.c~ 2008-10-28 02:52:19.000000000 +0100
++++ libpcap-1.0.0/pcap-linux.c 2009-01-19 03:40:30.967028036 +0100
+@@ -522,7 +522,7 @@
+ * monitor all devices.
+ */
+ if (!device || strcmp(device, "any") == 0) {
+- device = NULL;
++ handle->opt.source = NULL;
+ handle->md.device = strdup("any");
+ if (handle->opt.promisc) {
+ handle->opt.promisc = 0;
================================================================
More information about the pld-cvs-commit
mailing list