Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
2.2.1
-
None
Description
On rare occasion, a Windows computer will have an auto-generated IP address bound as well as a valid public address bound to the same interface:
$ ipconfig
Windows IP Configuration
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : dcs.mcnc.org
IP Address. . . . . . . . . . . . : 152.46.16.224
Subnet Mask . . . . . . . . . . . : 255.255.248.0
Default Gateway . . . . . . . . . : 152.46.23.254
Ethernet adapter Local Area Connection:
Connection-specific DNS Suffix . : dcs.mcnc.org
IP Address. . . . . . . . . . . . : 0.0.0.0
Subnet Mask . . . . . . . . . . . : 0.0.0.0
Default Gateway . . . . . . . . . :
Under this condition, the 0.0.0.0 address may be returned by get_public_ip_address, causing a reservation to fail. Update the code to return the valid public IP address.