Fix init script.

This commit is contained in:
Tomofumi Hayashi 2015-03-12 15:17:33 +09:00
parent 7065b0040f
commit f7288efb5e
1 changed files with 2 additions and 2 deletions

View File

@ -42,10 +42,10 @@ fi
if [ $nft_filter_miniupnpd_exists -eq "1" ]; then
echo "create chain in filter "
nft "add chain filter miniupnpd { \
type nat hook forward priority -200 ; }"
type filter hook forward priority -200 ; }"
fi
if [ $nft_mangle_miniupnpd_exists -eq "1" ]; then
echo "create chain in mangle"
nft "add chain mangle miniupnpd { \
type nat hook prerouting priority -100 ; }"
type route hook prerouting priority -100 ; }"
fi