Fix init script.
This commit is contained in:
parent
7065b0040f
commit
f7288efb5e
|
@ -42,10 +42,10 @@ fi
|
||||||
if [ $nft_filter_miniupnpd_exists -eq "1" ]; then
|
if [ $nft_filter_miniupnpd_exists -eq "1" ]; then
|
||||||
echo "create chain in filter "
|
echo "create chain in filter "
|
||||||
nft "add chain filter miniupnpd { \
|
nft "add chain filter miniupnpd { \
|
||||||
type nat hook forward priority -200 ; }"
|
type filter hook forward priority -200 ; }"
|
||||||
fi
|
fi
|
||||||
if [ $nft_mangle_miniupnpd_exists -eq "1" ]; then
|
if [ $nft_mangle_miniupnpd_exists -eq "1" ]; then
|
||||||
echo "create chain in mangle"
|
echo "create chain in mangle"
|
||||||
nft "add chain mangle miniupnpd { \
|
nft "add chain mangle miniupnpd { \
|
||||||
type nat hook prerouting priority -100 ; }"
|
type route hook prerouting priority -100 ; }"
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue