1
0
Fork 0
mirror of https://github.com/Ysurac/openmptcprouter-feeds.git synced 2025-03-09 15:40:03 +00:00

Disable IPv6 for all interfaces by default

This commit is contained in:
Ycarus 2019-04-19 22:10:49 +02:00
parent 08cffc86b1
commit ce8dfcaa74

View file

@ -20,7 +20,7 @@ omr_intf_set() {
uci -q set openmptcprouter.$1=interface
config_get disable_ipv6 settings disable_ipv6 "0"
if [ "$disable_ipv6" = "1" ]; then
if [ "$disable_ipv6" = "1" ] || [ "$1" != "omr6in4" ]; then
uci -q set network.$1.ipv6=0
else
uci -q set network.$1.ipv6=1