argus-3.0.0.rc.34-01-use-pcap-header.patch 1010 B

123456789101112131415161718192021222324252627
  1. Instead of hardcoding a wrong prototype for a libcap function, include
  2. the correct header.
  3. Index: argus-3.0.0.rc.34/argus/ArgusSource.c
  4. ===================================================================
  5. --- argus-3.0.0.rc.34.orig/argus/ArgusSource.c 2010-02-09 22:57:21.000000000 +0100
  6. +++ argus-3.0.0.rc.34/argus/ArgusSource.c 2010-02-09 22:57:29.000000000 +0100
  7. @@ -53,6 +53,7 @@
  8. #define PPP_HDRLEN 4 /* length of PPP header */
  9. #endif
  10. +#include <pcap.h>
  11. void ArgusGetInterfaceStatus (struct ArgusSourceStruct *src);
  12. Index: argus-3.0.0.rc.34/argus/ArgusSource.h
  13. ===================================================================
  14. --- argus-3.0.0.rc.34.orig/argus/ArgusSource.h 2010-02-09 22:57:35.000000000 +0100
  15. +++ argus-3.0.0.rc.34/argus/ArgusSource.h 2010-02-09 22:57:54.000000000 +0100
  16. @@ -381,7 +381,6 @@
  17. int ArgusCreatePktFromFddi(const struct fddi_header *, struct ether_header *, int);
  18. -extern char *bpf_image(struct bpf_insn *, int);
  19. #else /* defined(ArgusSource) */