summaryrefslogtreecommitdiffstats
path: root/iptables
diff options
context:
space:
mode:
Diffstat (limited to 'iptables')
-rw-r--r--iptables/nft.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/iptables/nft.c b/iptables/nft.c
index 68fc1539..bbe5e396 100644
--- a/iptables/nft.c
+++ b/iptables/nft.c
@@ -2730,7 +2730,8 @@ int nft_compatible_revision(const char *name, uint8_t rev, int opt)
uint32_t portid, seq, type;
int ret = 0;
- if (opt == IPT_SO_GET_REVISION_MATCH)
+ if (opt == IPT_SO_GET_REVISION_MATCH ||
+ opt == IP6T_SO_GET_REVISION_MATCH)
type = 0;
else
type = 1;