]> git.pld-linux.org Git - packages/libpcap.git/commitdiff
- "any" device fix auto/th/libpcap-1_0_0-3
authorzbyniu <zbyniu@pld-linux.org>
Mon, 19 Jan 2009 02:52:33 +0000 (02:52 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    libpcap-any_device.patch -> 1.1

libpcap-any_device.patch [new file with mode: 0644]

diff --git a/libpcap-any_device.patch b/libpcap-any_device.patch
new file mode 100644 (file)
index 0000000..899af22
--- /dev/null
@@ -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;
This page took 0.039898 seconds and 4 git commands to generate.