diff options
author | Dmitry Glushenok <dglushenok@yandex.ru> | 2015-01-22 23:11:51 +0300 |
---|---|---|
committer | Dmitry Glushenok <dglushenok@yandex.ru> | 2015-01-22 23:11:51 +0300 |
commit | 8ffb2233770e8c9c1a934e2f40cfa30e31f6b1e7 (patch) | |
tree | 7004541081137ddfe13eb0b3d1d49c03fd40997e /src | |
parent | db07b9499d8c0cc28c0880f3753dec870777d211 (diff) |
Take gateways into account while pushing routes
Diffstat (limited to 'src')
-rw-r--r-- | src/Cedar/Interop_OpenVPN.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Cedar/Interop_OpenVPN.c b/src/Cedar/Interop_OpenVPN.c index 3f4ae23d..f615c144 100644 --- a/src/Cedar/Interop_OpenVPN.c +++ b/src/Cedar/Interop_OpenVPN.c @@ -2114,8 +2114,8 @@ void OvsRecvPacket(OPENVPN_SERVER *s, LIST *recv_packet_list, UINT protocol) if (r->Exists)
{
Format(l3_options, sizeof(l3_options),
- ",route %r %r vpn_gateway",
- &r->Network, &r->SubnetMask);
+ ",route %r %r %r",
+ &r->Network, &r->SubnetMask, &r->Gateway);
StrCat(option_str, sizeof(option_str), l3_options);
}
|