mirror of
https://github.com/Ysurac/openmptcprouter-feeds.git
synced 2025-02-15 03:51:51 +00:00
Fix (temporary) Glorytun UDP support
This commit is contained in:
parent
46366ad494
commit
e48f194b73
1 changed files with 2 additions and 2 deletions
|
@ -333,10 +333,10 @@ fi
|
|||
if [ "$download" != "0" ] && [ "$download" != "" ] && [ "$upload" != "0" ] && [ "$upload" != "" ]; then
|
||||
glorytun-udp path up $OMR_TRACKER_DEVICE_IP dev tun0 rate tx $upload rx $download > /dev/null 2>&1
|
||||
else
|
||||
glorytun-udp path $OMR_TRACKER_DEVICE_IP dev tun0 up > /dev/null 2>&1
|
||||
glorytun-udp path $OMR_TRACKER_DEVICE_IP dev tun0 up rate rx 12500000 tx 12500000 > /dev/null 2>&1
|
||||
fi
|
||||
}
|
||||
[ "$multipath_config" = "backup" ] && glorytun-udp path $OMR_TRACKER_DEVICE_IP dev tun0 backup > /dev/null 2>&1
|
||||
[ "$multipath_config" = "backup" ] && glorytun-udp path $OMR_TRACKER_DEVICE_IP dev tun0 backup rate rx 12500000 tx 12500000 > /dev/null 2>&1
|
||||
[ "$multipath_status" = "$multipath_config" ] || {
|
||||
if [ "$(sysctl -n net.mptcp.mptcp_enabled | tr -d '\n')" = "1" ]; then
|
||||
_log "Multipath $OMR_TRACKER_DEVICE switched to $multipath_config"
|
||||
|
|
Loading…
Reference in a new issue