mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-03-09 15:40:03 +00:00
sync (#543)
This commit is contained in:
commit
d17e3afd5d
2 changed files with 2 additions and 1 deletions
|
@ -95,6 +95,7 @@ function wizard_add()
|
||||||
end)
|
end)
|
||||||
if nbserver == 1 and server_ip ~= "" and server_ip ~= nil then
|
if nbserver == 1 and server_ip ~= "" and server_ip ~= nil then
|
||||||
ucic:set("shadowsocks-libev","sss0","server",server_ip)
|
ucic:set("shadowsocks-libev","sss0","server",server_ip)
|
||||||
|
ucic:set("shadowsocks-rust","sss0","server",server_ip)
|
||||||
ucic:set("glorytun","vpn","host",server_ip)
|
ucic:set("glorytun","vpn","host",server_ip)
|
||||||
ucic:set("glorytun-udp","vpn","host",server_ip)
|
ucic:set("glorytun-udp","vpn","host",server_ip)
|
||||||
ucic:set("dsvpn","vpn","host",server_ip)
|
ucic:set("dsvpn","vpn","host",server_ip)
|
||||||
|
|
|
@ -564,8 +564,8 @@ start_service() {
|
||||||
config_foreach interface_multipath_settings interface $intf
|
config_foreach interface_multipath_settings interface $intf
|
||||||
config_foreach add_route route
|
config_foreach add_route route
|
||||||
config_foreach add_route6 route6
|
config_foreach add_route6 route6
|
||||||
|
[ -z "$intf" ] && set_multipath
|
||||||
fi
|
fi
|
||||||
set_multipath
|
|
||||||
# If no master is defined, one interface is defined as master
|
# If no master is defined, one interface is defined as master
|
||||||
if [ "$master" = "" ] && [ "$intf" = "" ]; then
|
if [ "$master" = "" ] && [ "$intf" = "" ]; then
|
||||||
intfmaster="$mptcpmintf"
|
intfmaster="$mptcpmintf"
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue