]> git.ipfire.org Git - thirdparty/kea.git/commit
[5680] kea-dhcp4 supports client FQDN name sanitizing
authorThomas Markwalder <tmark@isc.org>
Thu, 19 Jul 2018 19:36:30 +0000 (15:36 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Fri, 27 Jul 2018 11:54:10 +0000 (13:54 +0200)
commit8ac1c13d7e3c948a0134e8b74496d930bceeb806
tree22992918ff2d116ba994a75393362217a2df6826
parent6402f68e8e7525de9b4ba989301e11506ba2b07b
[5680] kea-dhcp4 supports client FQDN name sanitizing

src/lib/dhcpsrv/d2_client_mgr.h
    D2ClientMgr::adjustDomainName() - added logic to
    sanitize the inbound FQDN name when configured to do so

src/lib/dhcpsrv/tests/d2_client_unittest.cc
    TEST(D2ClientMgr, sanitizeFqdnV4)
    TEST(D2ClientMgr, sanitizeFqdnV6) - new tests

src/bin/dhcp4/tests/fqdn_unittest.cc
    TEST_F(NameDhcpv4SrvTest, sanitizeFqdn) - new test
src/bin/dhcp4/tests/fqdn_unittest.cc
src/lib/dhcpsrv/d2_client_mgr.h
src/lib/dhcpsrv/tests/d2_client_unittest.cc