mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-12 07:47:02 +08:00
radius: added support for Framed-IPv6-Prefix
This commit is contained in:
@@ -95,6 +95,10 @@ static int get_sup_config(struct cfg_st *cfg, client_entry_st *entry,
|
||||
msg->explicit_ipv6 = talloc_strdup(pool, pctx->ipv6);
|
||||
}
|
||||
|
||||
if (pctx->ipv6_net[0] != 0) {
|
||||
msg->ipv6_net = talloc_strdup(pool, pctx->ipv6_net);
|
||||
}
|
||||
|
||||
if (pctx->ipv6_prefix != 0) {
|
||||
msg->ipv6_prefix = pctx->ipv6_prefix;
|
||||
msg->has_ipv6_prefix = 1;
|
||||
|
||||
Reference in New Issue
Block a user