mirror of
https://github.com/hak5/wifipineapple-openwrt.git
synced 2025-10-29 16:57:19 +00:00
kernel: fix bridge compilation on kernel 3.13
The int brnf_call_ebtables in the header should be extern, otherwise every object file gets its own int and they will conflict when linking the binary. Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de> git-svn-id: svn://svn.openwrt.org/openwrt/trunk@39533 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
ddab530dd3
commit
0fa466cec7
@ -100,7 +100,7 @@
|
||||
|
||||
/* br_netfilter.c */
|
||||
#ifdef CONFIG_BRIDGE_NETFILTER
|
||||
+int brnf_call_ebtables;
|
||||
+extern int brnf_call_ebtables;
|
||||
int br_netfilter_init(void);
|
||||
void br_netfilter_fini(void);
|
||||
void br_netfilter_rtable_init(struct net_bridge *);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user