Hello,

Instead of statically linking,
we could replace the private libpcap function pcap_offline_read
with the proper pcap_dispatch function.


A similar issue is reported here:
https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=545595



The patch that include this change is attached.



Regards,
Dejan
--- argus-3.0.0.orig/argus/ArgusSource.c	2008-03-17 15:00:51.000000000 +0000
+++ argus-3.0.0/argus/ArgusSource.c	2014-04-11 12:12:36.000000000 +0000
@@ -2209,7 +2209,7 @@
       } else {
          for (i = 0; i < src->ArgusInterfaces; i++) {
             src->ArgusThisIndex = i;
-            pcap_offline_read (src->ArgusInterface[i].ArgusPd, src->eNflag,
+            pcap_dispatch (src->ArgusInterface[i].ArgusPd, src->eNflag,
                        src->ArgusInterface[i].ArgusCallBack, (u_char *) src);
          }
       }

Reply via email to