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

glorytun-udp doesn't support mptcp

This commit is contained in:
Ycarus 2018-02-07 15:30:28 +01:00
parent 7e48285cb4
commit e4f45f6432

View file

@ -21,7 +21,6 @@ _err() {
validate_section() {
uci_validate_section glorytun glorytun "${1}" \
'enable:bool:0' \
'mptcp:bool:0' \
'key:string' \
'host:host' \
'port:port' \
@ -34,7 +33,7 @@ validate_section() {
}
start_instance() {
local enable key host port dev listener mptcp proto bind bindport mtu mtuauto
local enable key host port dev listener proto bind bindport mtu mtuauto
validate_section "${1}" || {
_err "validation failed"
@ -61,7 +60,6 @@ start_instance() {
${host:+host "$host"} \
${bind:+bind}
${bindport:+bind-port}
${mptcp:+mptcp} \
${dev:+dev "$dev"} \
${mtu:+mtu "$mtu"} \
${mtuauto:+mtu-auto} \