Commit cb1b877
config: add default value for dhcpv6_pd_min_len
Right now, dhcpv6_pd_min_len is zero, meaning any request would be
accepted (as long as it fits what we have available).
That means that with a /56 (a common residential scenario), a downstream
router can request a /57 and gobble up 1/2 of the available address
space. Even a default dhcpv6_pd_min_len value of 60 means that we'd
support 15 PDs in total.
So let's err on the side of caution and set /62 as the default, people
who want larger allocations can easily override the default.
(cherry picked from commit 35f0e05)
Signed-off-by: David Härdeman <david@hardeman.nu>
Link: openwrt#357
Signed-off-by: Álvaro Fernández Rojas <noltari@gmail.com>1 parent 20eb94d commit cb1b877
2 files changed
+4
-3
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
89 | 89 | | |
90 | 90 | | |
91 | 91 | | |
92 | | - | |
| 92 | + | |
93 | 93 | | |
94 | 94 | | |
95 | 95 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
69 | 69 | | |
70 | 70 | | |
71 | 71 | | |
72 | | - | |
| 72 | + | |
| 73 | + | |
73 | 74 | | |
74 | 75 | | |
75 | 76 | | |
| |||
324 | 325 | | |
325 | 326 | | |
326 | 327 | | |
327 | | - | |
| 328 | + | |
328 | 329 | | |
329 | 330 | | |
330 | 331 | | |
| |||
0 commit comments