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:
@@ -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));
|
||||
}
|
||||
|
Reference in New Issue
Block a user