2
0
mirror of https://gitlab.isc.org/isc-projects/dhcp synced 2025-08-31 14:25:41 +00:00

[master] Add #define for length of prefix we send to v6 client script

This commit is contained in:
Shawn Routhier
2014-05-08 10:58:45 -07:00
parent 66e40c5dd9
commit 9279a3d722
3 changed files with 17 additions and 5 deletions

View File

@@ -3851,11 +3851,8 @@ dhc6_marshall_values(const char *prefix, struct client_state *client,
piaddr(addr->address),
(unsigned) addr->plen);
} else {
/* Current practice is that all subnets are /64's, but
* some suspect this may not be permanent.
*/
client_envadd(client, prefix, "ip6_prefixlen",
"%d", 64);
"%d", DHCLIENT_DEFAULT_PREFIX_LEN);
client_envadd(client, prefix, "ip6_address",
"%s", piaddr(addr->address));
}