]> git.ipfire.org Git - thirdparty/kea.git/commitdiff
[#1837] comment clarification (minor change)
authorAndrei Pavel <andrei@isc.org>
Fri, 21 May 2021 16:58:14 +0000 (19:58 +0300)
committerRazvan Becheriu <razvan@isc.org>
Fri, 21 May 2021 20:38:43 +0000 (23:38 +0300)
src/bin/dhcp6/dhcp6_srv.cc

index b8de7e2a0bb8e9c5dd4015dcfcf1085ba06b4b72..b593d07293d255cdf0d875fac3ef6c1469180004 100644 (file)
@@ -1427,8 +1427,8 @@ Dhcpv6Srv::appendRequestedVendorOptions(const Pkt6Ptr& question,
         vendor_id = vendor_rsp->getVendorId();
     }
 
-    // Otherwise, get the vendor-id from vendor-specific information option
-    // (17).
+    // Otherwise, try to get the vendor-id from the client packet's
+    // vendor-specific information option (17).
     OptionVendorPtr vendor_req;
     if (vendor_id == 0) {
         vendor_req = boost::dynamic_pointer_cast<OptionVendor>(
@@ -1438,7 +1438,8 @@ Dhcpv6Srv::appendRequestedVendorOptions(const Pkt6Ptr& question,
         }
     }
 
-    // Optionally, get the vendor-id from vendor-class option (16).
+    // Finally, try to get the vendor-id from the client packet's vendor-class
+    // option (16).
     if (vendor_id == 0) {
         OptionVendorClassPtr vendor_class(
             boost::dynamic_pointer_cast<OptionVendorClass>(