summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstephen hemminger <shemminger@vyatta.com>2012-12-28 18:17:08 +0000
committerPablo Neira Ayuso <pablo@netfilter.org>2013-01-18 00:28:18 +0100
commit5a406b0cdfa948c7d949b270374737b17ee1679f (patch)
treec2bd06d7141fe7da03ec11ff95fdceedc8265592
parent9b21f6a90924dfe8e5e686c314ddb441fb06501e (diff)
downloadop-kernel-dev-5a406b0cdfa948c7d949b270374737b17ee1679f.zip
op-kernel-dev-5a406b0cdfa948c7d949b270374737b17ee1679f.tar.gz
netfilter: nf_ct_snmp: add include file
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>
-rw-r--r--net/netfilter/nf_conntrack_snmp.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/netfilter/nf_conntrack_snmp.c b/net/netfilter/nf_conntrack_snmp.c
index 6e545e2..87b95a2 100644
--- 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
OpenPOWER on IntegriCloud