projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9b21f6a
)
netfilter: nf_ct_snmp: add include file
author
stephen hemminger
<shemminger@vyatta.com>
Fri, 28 Dec 2012 18:17:08 +0000
(18:17 +0000)
committer
Pablo Neira Ayuso
<pablo@netfilter.org>
Thu, 17 Jan 2013 23:28:18 +0000
(
00:28
+0100)
Prototype for nf_nat_snmp_hook is in nf_conntrack_snmp.h therefore
it should be included to get type checking. Found by sparse.
Signed-off-by: Stephen Hemminger <shemminger@vyatta.com>
Signed-off-by: Pablo Neira Ayuso <pablo@netfilter.org>
net/netfilter/nf_conntrack_snmp.c
patch
|
blob
|
history
diff --git
a/net/netfilter/nf_conntrack_snmp.c
b/net/netfilter/nf_conntrack_snmp.c
index 6e545e26289e5e82aca4a5de2744cce06cac54b9..87b95a2c270cd367fd0e910243221f60308c3263 100644
(file)
--- a/
net/netfilter/nf_conntrack_snmp.c
+++ b/
net/netfilter/nf_conntrack_snmp.c
@@
-16,6
+16,7
@@
#include <net/netfilter/nf_conntrack.h>
#include <net/netfilter/nf_conntrack_helper.h>
#include <net/netfilter/nf_conntrack_expect.h>
+#include <linux/netfilter/nf_conntrack_snmp.h>
#define SNMP_PORT 161