Browse Source

- s/pool/pools/ in docs
- add brackets and braces in pools

Adam Osuchowski 10 years ago
parent
commit
ea1f65f2d0
2 changed files with 3 additions and 3 deletions
  1. 2 2
      doc/guide/config.xml
  2. 1 1
      doc/guide/dhcp4-srv.xml

+ 2 - 2
doc/guide/config.xml

@@ -61,7 +61,7 @@
     "renew-timer": 1000,
     "rebind-timer": 2000,
     "subnet4": [{
-       "pool": "192.0.2.1-192.0.2.200",
+       "pools": [ { "pool": "192.0.2.1-192.0.2.200" } ],
        "subnet": "192.0.2.0/24"
     }],
     ...
@@ -76,7 +76,7 @@
     "renew-timer": 1000,
     "rebind-timer": 2000,
     "subnet6": [{
-       "pool": "2001:db8::/80",
+       "pools": [ { "pool": "2001:db8::/80" } ],
        "subnet": "2001:db8::/64"
     }],
     ...

+ 1 - 1
doc/guide/dhcp4-srv.xml

@@ -218,7 +218,7 @@ syntax would be used:
         "subnet": "192.0.3.0/24"
     },
     {
-        "pool": [ { "pool": "192.0.4.1 - 192.0.4.254" } ],
+        "pools": [ { "pool": "192.0.4.1 - 192.0.4.254" } ],
         "subnet": "192.0.4.0/24"
     }
 ]