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:
parent
08cffc86b1
commit
ce8dfcaa74
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue