Commit 83a20ef
committed
Fix compilation on --enable-physdev-override
CC [M] /opt/tools/ipt-netflow/ipt_NETFLOW.o
In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:76:
/opt/tools/ipt-netflow/compat.h:701:1: error: redefinition of ???nf_bridge_info_get???
nf_bridge_info_get(const struct sk_buff *skb)
^~~~~~~~~~~~~~~~~~
In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:53:
./include/linux/netfilter_bridge.h:28:1: note: previous definition of ???nf_bridge_info_get??? was here
nf_bridge_info_get(const struct sk_buff *skb)
^~~~~~~~~~~~~~~~~~
In file included from /opt/tools/ipt-netflow/ipt_NETFLOW.c:76:
/opt/tools/ipt-netflow/compat.h: In function ???nf_bridge_info_get???:
/opt/tools/ipt-netflow/compat.h:703:14: error: ???const struct sk_buff??? has no member named ???nf_bridge???; did you mean ???nf_trace????
return skb->nf_bridge;
^~~~~~~~~
nf_trace
Fixes: 8fe543c ("Fix compilation when CONFIG_BRIDGE_NETFILTER if undefined")
Reported-by: Artem Egorkin <artem@bonzo.me>1 parent 6d0e6ec commit 83a20ef
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
696 | 696 | | |
697 | 697 | | |
698 | 698 | | |
699 | | - | |
| 699 | + | |
700 | 700 | | |
701 | 701 | | |
702 | 702 | | |
| |||
0 commit comments