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:
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.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
|
||||
|
|
Loading…
Reference in a new issue