mirror of
https://github.com/OpenVPN/openvpn.git
synced 2026-05-28 04:03:29 -04:00
Fixed initialization bug in route_list_add_default_gateway
(Gert Doering). git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@6566 e7ae566f-a301-0410-adde-c780ea21d3b5
This commit is contained in:
parent
51e6e5b0f1
commit
c68e0cddf0
1 changed files with 2 additions and 0 deletions
2
route.c
2
route.c
|
|
@ -450,6 +450,8 @@ init_route_list (struct route_list *rl,
|
|||
struct route r;
|
||||
int k;
|
||||
|
||||
CLEAR(netlist); /* init_route() will not always init this */
|
||||
|
||||
if (!init_route (&r,
|
||||
&netlist,
|
||||
&opt->routes[i],
|
||||
|
|
|
|||
Loading…
Reference in a new issue