mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-03-13 14:58:07 +08:00
In IPv6 send the prefix instead of the netmask
That allows vpnc-script in windows to apply the correct settings.
This commit is contained in:
@@ -1518,8 +1518,8 @@ static int connect_handler(worker_st * ws)
|
|||||||
if (ws->vinfo.ipv6_netmask) {
|
if (ws->vinfo.ipv6_netmask) {
|
||||||
ret =
|
ret =
|
||||||
tls_printf(ws->session,
|
tls_printf(ws->session,
|
||||||
"X-CSTP-Netmask: %s\r\n",
|
"X-CSTP-Netmask: %u\r\n",
|
||||||
ws->vinfo.ipv6_netmask);
|
ws->vinfo.ipv6_prefix);
|
||||||
SEND_ERR(ret);
|
SEND_ERR(ret);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user