diff options
author | James Yonan <james@openvpn.net> | 2010-10-23 22:32:00 +0000 |
---|---|---|
committer | James Yonan <james@openvpn.net> | 2010-10-23 22:32:00 +0000 |
commit | c68e0cddf024ae5b18f89062bf7164da77f1cf06 (patch) | |
tree | 1ffd8e6581bcfb3baf67867572c5b5875e08357e | |
parent | Added --proto-force directive. (diff) | |
download | openvpn-c68e0cddf024ae5b18f89062bf7164da77f1cf06.tar.xz |
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
-rw-r--r-- | route.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -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], |