mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-13 11:01:50 +00:00
Remove IPv6 gateway change in omr-6in4
This commit is contained in:
parent
6ca4577c2c
commit
a6c50bb94b
1 changed files with 5 additions and 5 deletions
|
@ -18,11 +18,11 @@ reload_service() {
|
||||||
set network.omr6in4.ipaddr=$addr
|
set network.omr6in4.ipaddr=$addr
|
||||||
set network.omr6in4.peeraddr=$peer
|
set network.omr6in4.peeraddr=$peer
|
||||||
EOF
|
EOF
|
||||||
if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then
|
#if [ "$(uci -q get glorytun.vpn.proto)" = "udp" ]; then
|
||||||
uci -q set network.omr6in4.gateway=fe80::a00:101
|
# uci -q set network.omr6in4.gateway=fe80::a00:101
|
||||||
elif [ "$(uci -q get glorytun.vpn.proto)" = "tcp" ]; then
|
#elif [ "$(uci -q get glorytun.vpn.proto)" = "tcp" ]; then
|
||||||
uci -q set network.omr6in4.gateway=fe80::a00:1
|
# uci -q set network.omr6in4.gateway=fe80::a00:1
|
||||||
fi
|
#fi
|
||||||
uci -q commit network
|
uci -q commit network
|
||||||
ifup omr6in4
|
ifup omr6in4
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in a new issue