commit | d5087d13d07d5ff6e824e190f3854f5372c36592 | [log] [tgz] |
---|---|---|
author | Pavlin Radoslavov <pavlin@onlab.us> | Thu Nov 06 13:34:33 2014 -0800 |
committer | Pavlin Radoslavov <pavlin@onlab.us> | Thu Nov 06 13:40:40 2014 -0800 |
tree | 4cf5d354b270af345cbc1c95cc09e745938d6c06 | |
parent | ca60f2b0f1dcac31caece96e8b9b043fd5e36e34 [diff] |
Removed method IpAddress.toInt(), because it is semantically incorrect: It lacks the guarantee the underlying IP address is IPv4. Potential users of toInt() should use Ip4Address.toInt() or IpAddress.getIp4Address().toInt() Tthe latter obviously might require the explicit check that getIp4Address() is not null. Change-Id: I3f939695cf3c496e3fdd3fbd4a2988b565cca69a