]> git.ipfire.org Git - thirdparty/pdns.git/commit
Netmask: Normalize subnet masks coming from a string 13340/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Oct 2023 11:05:39 +0000 (13:05 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Fri, 6 Oct 2023 11:05:39 +0000 (13:05 +0200)
commit7d6458b7e094206c0a2db9c969e88961bc9db729
tree7ae5451ce8cf7e5d2bc3edf898151031c3a24bc7
parent8cbe7d8e3c44f87b986a6f88cda98c3a0d943026
Netmask: Normalize subnet masks coming from a string

Until now we only normalized too large masks when constructed from a
`ComboAddress` object and a separate mask, but not from a string.
pdns/iputils.hh
pdns/test-iputils_hh.cc