is_valid_port doesn't allow for port number '0'

Bug #1590485 reported by Dariusz Smigiel
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
oslo.utils
Fix Released
Undecided
Dariusz Smigiel

Bug Description

IANA allows to assign port numbers from 0-65535 while netutils handles just ports 1-65535

https://tools.ietf.org/html/rfc6335#section-8.1.2

Revision history for this message
ChangBo Guo(gcb) (glongwave) wrote :
Revision history for this message
Dariusz Smigiel (smigiel-dariusz) wrote :

Change merged.

Revision history for this message
Doug Hellmann (doug-hellmann) wrote : Fix included in openstack/oslo.utils 3.13.0

This issue was fixed in the openstack/oslo.utils 3.13.0 release.

Changed in oslo.utils:
status: New → Fix Released
assignee: nobody → Darek Smigiel (smigiel-dariusz)
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.