Allow multiple sub sections for tcp/udp server
This commit is contained in:
parent
52170b515c
commit
9e30766caa
@ -376,7 +376,7 @@ func (ctl *Control) RegisterProxy(pxyMsg *msg.NewProxy, token string) (remoteAdd
|
|||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
err = fmt.Errorf("proxy type '%s' only allowed in common section", pxyMsg.ProxyType)
|
err = fmt.Errorf("proxy type '%s' only allowed with common token", pxyMsg.ProxyType)
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user