Browse Source

[3336] Minor changes after the second review.

Fixed one typo and clarified in the configuration examples that it is up
to the client to pick the renew and rebind timers if the server doesn't
send option 58 and 59.
Marcin Siodelski 11 years ago
parent
commit
2f8ff64f05
2 changed files with 4 additions and 3 deletions
  1. 3 2
      doc/examples/kea4/single-subnet.json
  2. 1 1
      src/lib/dhcpsrv/triplet.h

+ 3 - 2
doc/examples/kea4/single-subnet.json

@@ -23,8 +23,9 @@
   "valid-lifetime": 4000,
 
 # Renew and rebind timers are commented out. This implies that options
-# 58 and 59 will not be sent to the client. Uncomment them to send
-# these options.
+# 58 and 59 will not be sent to the client. In this case it is up to
+# the client to pick the timer values according to RFC2131. Uncomment the
+# timers to send these options to the client.
 #  "renew-timer": 1000,
 #  "rebind-timer": 2000,
 

+ 1 - 1
src/lib/dhcpsrv/triplet.h

@@ -25,7 +25,7 @@ namespace dhcp {
 /// This template class is used to store configuration parameters, like lifetime
 /// or T1. It defines 3 parameters: min, default, and max value. If the
 /// particular configuration parameter is not mandatory, it is possible to
-/// mark the parameter described by a @c Triplet "unspcified". For example, the
+/// mark the parameter described by a @c Triplet "unspecified". For example, the
 /// T1 and T2 values in DHCPv4 server are optional and may be not specified
 /// in the configuration. The @c Triplets describing these parameters will be
 /// marked "unspecified". If the server finds that the particular parameter