Added methods to test whether an IP address/prefix is IPv4 or IPv6:
IpAddress.isIp4() IpAddress.isIp6() IpPrefix.isIp4() IpPrefix.isIp6() Also, added the corresponding unit tests. Change-Id: I2b1f08501c94d61f75b15f2c6977c0349e313ebd
Showing
4 changed files
with
100 additions
and
0 deletions
-
Please register or login to post a comment