diff --git a/pkg/tunnels/linux_tunnels.go b/pkg/tunnels/linux_tunnels.go index 37f98b08d..241644ece 100644 --- a/pkg/tunnels/linux_tunnels.go +++ b/pkg/tunnels/linux_tunnels.go @@ -70,7 +70,7 @@ func ParseEncapType(encapType string) (EncapType, error) { type EncapPort uint16 func (e EncapPort) checkWithinRange() error { - if uint16(e) > minPort && uint16(e) < maxPort { + if uint16(e) >= minPort { return nil } return fmt.Errorf("specified encap port is out of range of valid ports: %d, valid range is from %d to %d",