Windows.pm may fail to return public IP address if the same interface also has 
a non-public IP address bound
------------------------------------------------------------------------------------------------------------

                 Key: VCL-469
                 URL: https://issues.apache.org/jira/browse/VCL-469
             Project: VCL
          Issue Type: Bug
          Components: vcld (backend)
    Affects Versions: 2.2.1
            Reporter: Andy Kurth
            Assignee: Andy Kurth
            Priority: Minor
             Fix For: 2.3


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.

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to