Parcourir la source

[2749] Minor comment change.

Stephen Morris il y a 11 ans
Parent
commit
6b3bc78d60
1 fichiers modifiés avec 1 ajouts et 2 suppressions
  1. 1 2
      src/bin/dhcp6/dhcp6_srv.cc

+ 1 - 2
src/bin/dhcp6/dhcp6_srv.cc

@@ -604,8 +604,7 @@ Dhcpv6Srv::generateServerID() {
         seconds -= DUID_TIME_EPOCH;
         seconds -= DUID_TIME_EPOCH;
 
 
         OptionBuffer srvid(8 + iface->getMacLen());
         OptionBuffer srvid(8 + iface->getMacLen());
-        // We know that the buffer is at least 8 bytes long at this
-        // point.
+        // We know that the buffer is more than 8 bytes long at this point.
         writeUint16(DUID::DUID_LLT, &srvid[0], 2);
         writeUint16(DUID::DUID_LLT, &srvid[0], 2);
         writeUint16(HWTYPE_ETHERNET, &srvid[2], 2);
         writeUint16(HWTYPE_ETHERNET, &srvid[2], 2);
         writeUint32(static_cast<uint32_t>(seconds), &srvid[4], 4);
         writeUint32(static_cast<uint32_t>(seconds), &srvid[4], 4);