SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
21
net/libnids/patches/patch-src_tcp_h
Normal file
21
net/libnids/patches/patch-src_tcp_h
Normal file
|
@ -0,0 +1,21 @@
|
|||
warning: incompatible pointer types passing 'struct bpf_timeval *' to parameter of type 'struct timeval *'
|
||||
|
||||
Index: src/tcp.h
|
||||
--- src/tcp.h.orig
|
||||
+++ src/tcp.h
|
||||
@@ -5,6 +5,7 @@
|
||||
#ifndef _NIDS_TCP_H
|
||||
#define _NIDS_TCP_H
|
||||
#include <sys/time.h>
|
||||
+#include <net/bpf.h>
|
||||
|
||||
struct skbuff {
|
||||
struct skbuff *next;
|
||||
@@ -25,6 +26,6 @@ int tcp_init(int);
|
||||
void tcp_exit(void);
|
||||
void process_tcp(u_char *, int);
|
||||
void process_icmp(u_char *);
|
||||
-void tcp_check_timeouts(struct timeval *);
|
||||
+void tcp_check_timeouts(struct bpf_timeval *);
|
||||
|
||||
#endif /* _NIDS_TCP_H */
|
Loading…
Add table
Add a link
Reference in a new issue