mirror of
https://github.com/v2fly/v2ray-core.git
synced 2025-10-13 04:24:03 -04:00
convert dokodemo scenario test to protobuf based
This commit is contained in:
@@ -74,6 +74,10 @@ func (v *DokodemoDoor) Start() error {
|
||||
}
|
||||
v.accepting = true
|
||||
|
||||
if v.config.NetworkList == nil || v.config.NetworkList.Size() == 0 {
|
||||
return errors.New("DokodemoDoor: No network specified.")
|
||||
}
|
||||
|
||||
if v.config.NetworkList.HasNetwork(v2net.Network_TCP) {
|
||||
err := v.ListenTCP()
|
||||
if err != nil {
|
||||
|
Reference in New Issue
Block a user