]> git.ipfire.org Git - thirdparty/kea.git/commit
[#1672] class fixed field order now matches class option order in kea-dhc4
authorThomas Markwalder <tmark@isc.org>
Sun, 14 Feb 2021 18:16:34 +0000 (13:16 -0500)
committerThomas Markwalder <tmark@isc.org>
Sun, 14 Feb 2021 18:16:34 +0000 (13:16 -0500)
commit730888d98da5ea33307b7490e62691a005b59ea6
tree32eef2750f03efc5259ce0a31d0bc265143b1045
parentd43f44fb05b1c6c0f9a6f0bcbeee315f6a6dc34d
[#1672]  class fixed field order now matches class option order in kea-dhc4

src/bin/dhcp4/dhcp4_srv.cc
    Dhcpv4Srv::setFixedFields - modified to use the value for a field
    from the first class in query's list of classes that specifies
    the field.

src/bin/dhcp4/tests/dhcp4_srv_unittest.cc
    TEST_F(Dhcpv4SrvTest, fixedFieldsInClassOrder) - new unit test
src/bin/dhcp4/dhcp4_srv.cc
src/bin/dhcp4/tests/dhcp4_srv_unittest.cc