docker: fix path of iptables

This commit is contained in:
Markson Hon committed 2025-02-09 17:40:45 +08:00
1 parent 4c1bac8b3e
commit 46aa708fdb
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -5,5 +5,5 @@ if [ "$IPTABLES_MODE" = "nftables" ]; then
elif [ "$IPTABLES_MODE" = "legacy" ]; then
/usr/sbin/ip6tables-legacy "$@"
else
/usr/sbin/sbin/ip6tables "$@"
/usr/sbin/ip6tables "$@"
fi
+1 -1
View File
@@ -1,7 +1,7 @@
#!/bin/sh
if [ "$IPTABLES_MODE" = "nftables" ]; then
/usr/sbin/sbin/iptables-nft "$@"
/usr/sbin/iptables-nft "$@"
elif [ "$IPTABLES_MODE" = "legacy" ]; then
/usr/sbin/iptables-legacy "$@"
else