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

Remove IPv6 gateway change in omr-6in4

This commit is contained in:
Ycarus 2018-05-31 15:46:54 +02:00
parent 6ca4577c2c
commit a6c50bb94b

View file

@ -18,11 +18,11 @@ reload_service() {
set network.omr6in4.ipaddr=$addr
set network.omr6in4.peeraddr=$peer
EOF
if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then
uci -q set network.omr6in4.gateway=fe80::a00:101
elif [ "$(uci -q get glorytun.vpn.proto)" = "tcp" ]; then
uci -q set network.omr6in4.gateway=fe80::a00:1
fi
#if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then
# uci -q set network.omr6in4.gateway=fe80::a00:101
#elif [ "$(uci -q get glorytun.vpn.proto)" = "tcp" ]; then
# uci -q set network.omr6in4.gateway=fe80::a00:1
#fi
uci -q commit network
ifup omr6in4
fi