mirror of
https://gitlab.com/openconnect/ocserv.git
synced 2026-02-10 00:37:00 +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) {
|
||||
ret =
|
||||
tls_printf(ws->session,
|
||||
"X-CSTP-Netmask: %s\r\n",
|
||||
ws->vinfo.ipv6_netmask);
|
||||
"X-CSTP-Netmask: %u\r\n",
|
||||
ws->vinfo.ipv6_prefix);
|
||||
SEND_ERR(ret);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user