mirror of
https://github.com/SoftEtherVPN/SoftEtherVPN.git
synced 2024-11-22 17:39:53 +03:00
Merge PR #1589: Fix static route pushing to OpenVPN clients
This commit is contained in:
commit
bf206bd7ad
@ -2486,8 +2486,8 @@ void OvsRecvPacket(OPENVPN_SERVER *s, LIST *recv_packet_list, UINT protocol)
|
|||||||
if (r->Exists)
|
if (r->Exists)
|
||||||
{
|
{
|
||||||
Format(l3_options, sizeof(l3_options),
|
Format(l3_options, sizeof(l3_options),
|
||||||
",route %r %r vpn_gateway",
|
",route %r %r %r",
|
||||||
&r->Network, &r->SubnetMask);
|
&r->Network, &r->SubnetMask, &r->Gateway);
|
||||||
|
|
||||||
StrCat(option_str, sizeof(option_str), l3_options);
|
StrCat(option_str, sizeof(option_str), l3_options);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user