]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#2765] Avoid confusion between options 60 and 124
authorFrancis Dupont <fdupont@isc.org>
Mon, 13 Mar 2023 08:49:40 +0000 (09:49 +0100)
committerFrancis Dupont <fdupont@isc.org>
Mon, 13 Mar 2023 08:49:40 +0000 (09:49 +0100)
src/bin/dhcp4/dhcp4_srv.cc

index 8c9832004072e84a25315e20dec72d66ce670e9c..df565b0d8796b73714353aa912dc7671bed20cfd 100644 (file)
@@ -2008,8 +2008,8 @@ Dhcpv4Srv::appendRequestedVendorOptions(Dhcpv4Exchange& ex) {
         }
     }
 
-    // Finally, try to get the vendor-id from the client packet's vendor-class
-    // option (124).
+    // Finally, try to get the vendor-id from the client packet's
+    // vendor-specific class option (124).
     for (auto opt : query->getOptions(DHO_VIVCO_SUBOPTIONS)) {
         OptionVendorClassPtr vendor_class;
         vendor_class = boost::dynamic_pointer_cast<OptionVendorClass>(opt.second);