We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c9b75b4 commit 1010e48Copy full SHA for 1010e48
pkg/tunnels/linux_tunnels.go
@@ -70,7 +70,7 @@ func ParseEncapType(encapType string) (EncapType, error) {
70
type EncapPort uint16
71
72
func (e EncapPort) checkWithinRange() error {
73
- if uint16(e) > minPort && uint16(e) < maxPort {
+ if uint16(e) >= minPort {
74
return nil
75
}
76
return fmt.Errorf("specified encap port is out of range of valid ports: %d, valid range is from %d to %d",
0 commit comments