func (p PortRange) ConflictsWith(other PortRange) bool {
	if p.Protocol != other.Protocol {
		return false
	}
	return p.ToPort >= other.FromPort && other.ToPort >= p.FromPort
}
// ConflictsWith determines if the two port ranges conflict.
ConflictsWith determines if the two port ranges conflict.
// ConflictsWith determines if the two port ranges conflict .
func (p PortRange) ConflictsWith(other PortRange) bool {
	if p.Protocol != other.Protocol {
		return false
	}
	return p.ToPort >= other.FromPort && other.ToPort >= p.FromPort
}
func ( p PortRange ) ConflictsWith ( other PortRange ) bool { if p . Protocol != other . Protocol { return false } return p . ToPort >= other . FromPort && other . ToPort >= p . FromPort }
ConflictsWith determines if the two port ranges conflict.
ConflictsWith determines if the two port ranges conflict .