1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-02-12 18:41:51 +00:00

Fix OMR-ByPass proto with IPv6

This commit is contained in:
Ycarus (Yannick Chabanois) 2023-10-24 11:28:33 +02:00
parent 982b856db2
commit 954faf5515

View file

@ -501,7 +501,7 @@ _bypass_proto_without_ndpi() {
ipset -q flush bypass6_$proto > /dev/null 2>&1
ipset -q --exist restore <<-EOF
create bypass_$proto hash:net hashsize 64
create bypass6_$proto hash:net hashsize 64
create bypass6_$proto hash:net family inet6 hashsize 64
EOF
for ip in $ALLIPS; do
valid_ip4=$( valid_subnet4 $ip)