openbsd-ports/net/snort/patches/patch-src_util_h
lteo 08ee37b8d7 Update to Snort 2.9.5.3, maintainer timeout
Re-enable support for non Ethernet decoders so that Snort can listen on
our pflog(4) interface again.

Tested on amd64 and i386.  Before the 64-bit time_t change, it was also
tested on amd64 and i386 (by myself and Adam Jeanguenat) and on macppc.
2013-08-21 02:28:42 +00:00

21 lines
694 B
Plaintext

$OpenBSD: patch-src_util_h,v 1.6 2013/08/21 02:28:45 lteo Exp $
--- src/util.h.orig Wed Jul 3 17:31:22 2013
+++ src/util.h Mon Aug 5 14:37:50 2013
@@ -49,6 +49,7 @@
#include "sflsq.h"
#include "sfutil/sf_ipvar.h"
#include "ipv6_port.h"
+#include "pcap_pkthdr32.h"
/* Macros *********************************************************************/
@@ -160,7 +161,7 @@ typedef struct _IntervalStats
void StoreSnortInfoStrings(void);
int DisplayBanner(void);
int gmt2local(time_t);
-void ts_print(register const struct timeval *, char *);
+void ts_print(register const struct sf_timeval32 *, char *);
char *copy_argv(char **);
void strip(char *);
double CalcPct(uint64_t, uint64_t);