From: Francis Dupont Date: Wed, 2 Dec 2020 15:24:05 +0000 (+0100) Subject: [#1449] Addressed ultimate comment X-Git-Tag: Kea-1.9.3~142 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69ea445f591f4d13528ea250d6656728ebb0edcb;p=thirdparty%2Fkea.git [#1449] Addressed ultimate comment --- diff --git a/src/bin/dhcp4/dhcp4_srv.cc b/src/bin/dhcp4/dhcp4_srv.cc index aaf21d767d..8a59716582 100644 --- a/src/bin/dhcp4/dhcp4_srv.cc +++ b/src/bin/dhcp4/dhcp4_srv.cc @@ -1869,12 +1869,12 @@ Dhcpv4Srv::appendRequestedVendorOptions(Dhcpv4Exchange& ex) { } } } + } - // If we added some sub-options and the vivso option is not in - // the response already, then add it. - if (added && !ex.getResponse()->getOption(DHO_VIVSO_SUBOPTIONS)) { - ex.getResponse()->addOption(vendor_rsp); - } + // If we added some sub-options and the vivso option is not in + // the response already, then add it. + if (added && !ex.getResponse()->getOption(DHO_VIVSO_SUBOPTIONS)) { + ex.getResponse()->addOption(vendor_rsp); } }