Skip to content

Commit

Permalink
Do not disable IPv6
Browse files Browse the repository at this point in the history
  • Loading branch information
Ysurac committed Aug 1, 2024
1 parent 21f8a2e commit f0010f6
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions openmptcprouter/files/etc/init.d/openmptcprouter-vps
Original file line number Diff line number Diff line change
Expand Up @@ -1941,11 +1941,11 @@ _set_config_from_vps() {
vps_ipv6_addr="$(echo "$vps_config" | jsonfilter -q -e '@.network.ipv6')"
if [ -z "$vps_ipv6_addr" ]; then
if [ "$(uci -q get openmptcprouter.settings.disable_ipv6)" = "0" ]; then
logger -t "OMR-VPS" "No IPv6 support on VPS side. IPv6 disabled."
logger -t "OMR-VPS" "No IPv6 support on VPS side ?"
fi
uci -q batch <<-EOF >/dev/null
set openmptcprouter.settings.disable_ipv6=1
EOF
#uci -q batch <<-EOF >/dev/null
# set openmptcprouter.settings.disable_ipv6=1
#EOF
#sysctl -qw net.ipv6.conf.all.disable_ipv6=1
else
uci -q batch <<-EOF >/dev/null
Expand Down

0 comments on commit f0010f6

Please sign in to comment.