summaryrefslogtreecommitdiffstats
path: root/iptables/xshared.h
diff options
context:
space:
mode:
authorPhil Sutter <phil@nwl.cc>2023-11-15 15:43:42 +0100
committerPhil Sutter <phil@nwl.cc>2023-12-05 16:35:37 +0100
commitea7fef2a6f0457c44929bc8d1871257c15ed78ce (patch)
tree4763a302a9e108aaa453a734cb3f54f43012bf84 /iptables/xshared.h
parent100b0d96c2852916d68b17aad198f45808191f52 (diff)
xshared: Perform protocol value parsing in callback
The code is same in iptables and ip6tables, but different in ebtables. Therefore move it into the callback to keep that part of do_parse() generic. Signed-off-by: Phil Sutter <phil@nwl.cc>
Diffstat (limited to 'iptables/xshared.h')
-rw-r--r--iptables/xshared.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/iptables/xshared.h b/iptables/xshared.h
index d2ce72e9..3df2153f 100644
--- a/iptables/xshared.h
+++ b/iptables/xshared.h
@@ -249,7 +249,6 @@ struct addr_mask {
struct xtables_args {
int family;
- uint16_t proto;
uint8_t flags;
uint16_t invflags;
char iniface[IFNAMSIZ], outiface[IFNAMSIZ];