Correctly define DHCP port numbers for IPv4

The client and server DHCP port numbers are opposite
of what they should be according to the IANA definitions.

Change-Id: Iaa74ec5d569a3dee65f7e788394ffe063748bab6
Closes-bug: #1882588
This commit is contained in:
Brian Haley 2020-06-08 15:27:20 -04:00
parent 29ba0b7d21
commit d790061016
2 changed files with 8 additions and 2 deletions

View File

@ -99,8 +99,8 @@ IP_ANY = {IP_VERSION_4: IPv4_ANY, IP_VERSION_6: IPv6_ANY}
IPv6_LLA_PREFIX = 'fe80::/64'
DHCP_CLIENT_PORT = 67
DHCP_RESPONSE_PORT = 68
DHCP_CLIENT_PORT = 68
DHCP_RESPONSE_PORT = 67
DHCPV6_CLIENT_PORT = 546
DHCPV6_RESPONSE_PORT = 547

View File

@ -0,0 +1,6 @@
---
fixes:
- |
The DHCP port numbers for IPv4 were defined incorrectly in
``neutron_lib.constants``, they are now correct - ``68`` (client)
and ``67`` (server).