]> git.ipfire.org Git - thirdparty/kea.git/commit
[5440] libdhcp++ now quietly drops empty host name options from inbound packets 40-empty-hostname
authorThomas Markwalder <tmark@isc.org>
Wed, 25 Jul 2018 19:58:33 +0000 (15:58 -0400)
committerTomek Mrugalski <tomasz@isc.org>
Wed, 16 Jan 2019 09:46:16 +0000 (10:46 +0100)
commit8d1f1d7f7265cc989bbbe464c49185d95f4f0cca
tree1f9422a418f10a662ad94939f054f1e7e1edba42
parent1f141f14efedc5b60d36f9e1e76477ccbbe71f34
[5440] libdhcp++ now quietly drops empty host name options from inbound packets

src/lib/dhcp/libdhcp++.cc
    LibDHCP::unpackOptions4() - added logic to drop Host Name option
    if when empty

src/lib/dhcp/tests/libdhcp++_unittest.cc
    TEST_F(LibDhcpTest, emptyHostName)  - new unit test

src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::processHostnameOption() - removed prior 5440 logic
    to ignore blank hostname options

src/bin/dhcp4/dhcp4_messages.mes
    Removed prior 5440 message
src/bin/dhcp4/dhcp4_messages.mes
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/fqdn_unittest.cc
src/lib/dhcp/libdhcp++.cc
src/lib/dhcp/tests/libdhcp++_unittest.cc