瀏覽代碼

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>
stephen hemminger 13 年之前
父節點
當前提交
5a406b0cdf
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      net/netfilter/nf_conntrack_snmp.c

+ 1 - 0
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