mirror of
https://github.com/bol-van/zapret.git
synced 2024-11-27 04:30:53 +03:00
blockcheck: more specific ipv6 ipfrag warnings
This commit is contained in:
parent
3228ee4a78
commit
9d90f787ad
@ -819,9 +819,11 @@ ask_params()
|
|||||||
fi
|
fi
|
||||||
[ -n "$IP6_DEFRAG_DISABLE" ] && {
|
[ -n "$IP6_DEFRAG_DISABLE" ] && {
|
||||||
local ipexe="$(readlink -f $(which ip6tables))"
|
local ipexe="$(readlink -f $(which ip6tables))"
|
||||||
[ "${ipexe#*nft}" != "$ipexe" ] &&
|
if [ "${ipexe#*nft}" != "$ipexe" ]; then
|
||||||
echo "WARNING ! ipv6 ipfrag tests may have no effect if ip6tables-nft is used. current ip6tables point to : $ipexe"
|
echo "WARNING ! ipv6 ipfrag tests may have no effect if ip6tables-nft is used. current ip6tables point to : $ipexe"
|
||||||
echo "WARNING ! ipv6 ipfrag tests may have no effect if ip6table_raw kernel module is not loaded with parameter : raw_before_defrag=1"
|
else
|
||||||
|
echo "WARNING ! ipv6 ipfrag tests may have no effect if ip6table_raw kernel module is not loaded with parameter : raw_before_defrag=1"
|
||||||
|
fi
|
||||||
echo
|
echo
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user