]> granicus.if.org Git - pdns/commit
Add more tests to the Netmask unit tests
authorRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 15 Jun 2017 14:36:52 +0000 (16:36 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Thu, 15 Jun 2017 14:55:02 +0000 (16:55 +0200)
commit7f3e6acd659a9fee8ed027e7abe99ea77b3ee691
tree2e4a8849ea572aef000cf767f3402bea3e2af5f3
parent41fb54b887ad2b08a06edd874ecde8d69e2d54f3
Add more tests to the Netmask unit tests

Additional tests:

 * getBits()
 * isIpv4()
 * isIPv6()
 * getNetwork()
 * getMaskedNetwork()
 * check that Netmasks constructed from ComboAddresses with different
ports match
pdns/test-iputils_hh.cc