Parcourir la source

[3668] Minor correction in the comments in the DHCPv4 and DHCPv6 servers.

Marcin Siodelski il y a 10 ans
Parent
commit
35127ff7bf
2 fichiers modifiés avec 2 ajouts et 2 suppressions
  1. 1 1
      src/bin/dhcp4/dhcp4_srv.cc
  2. 1 1
      src/bin/dhcp6/dhcp6_srv.cc

+ 1 - 1
src/bin/dhcp4/dhcp4_srv.cc

@@ -161,7 +161,7 @@ Dhcpv4Srv::run() {
         /// Probing for the packets at this pace should not cause a
         /// significant rise of the CPU usage. However, in the future we
         /// should adjust the select timeout to the value reported by the
-        /// lease database backend as a minimal poll interval.
+        /// lease database backend as a maximum poll interval.
         //cppcheck-suppress variableScope This is temporary anyway
         const int timeout = 1;
 

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

@@ -241,7 +241,7 @@ bool Dhcpv6Srv::run() {
         /// Probing for the packets at this pace should not cause a
         /// significant rise of the CPU usage. However, in the future we
         /// should adjust the select timeout to the value reported by the
-        /// lease database backend as a minimal poll interval.
+        /// lease database backend as a maximum poll interval.
         //cppcheck-suppress variableScope This is temporary anyway
         const int timeout = 1;