Skip to content

Commit

Permalink
netfilter: nf_ct_snmp: add include file
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
stephen hemminger authored and Pablo Neira Ayuso committed Jan 17, 2013
1 parent 9b21f6a commit 5a406b0
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions net/netfilter/nf_conntrack_snmp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 5a406b0

Please sign in to comment.