mirror of
https://github.com/soypat/lneto.git
synced 2026-08-26 09:29:04 +00:00
do not crash if no tcp connections are desired
This commit is contained in:
@@ -42,7 +42,7 @@ type node struct {
|
||||
}
|
||||
|
||||
var (
|
||||
errZeroMaxNodes = errors.New("zero max ports")
|
||||
errZeroMaxNodesArg = errors.New("zero max nodes arg")
|
||||
errZeroPort = errors.New("port must be greater than zero")
|
||||
errInvalidProto = errors.New("invalid protocol")
|
||||
errProtoRegistered = errors.New("protocol already registered")
|
||||
|
||||
Reference in New Issue
Block a user