aboutsummaryrefslogtreecommitdiff
path: root/route.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-27 02:12:15 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2009-09-27 02:12:15 +0000
commit3eee126eba7314e203a50b6398fa5333cbf12ff7 (patch)
tree2b07c330d53e1346c5383bfefe1a997d54bbde7c /route.c
parentThe maximum number of "route" directives (specified in the config (diff)
downloadopenvpn-3eee126eba7314e203a50b6398fa5333cbf12ff7.tar.xz
Eliminated the limitation on the number of options that can be pushed
to clients, including routes. Previously, all pushed options needed to fit within a 1024 byte options string. Remember that to make use of this feature to allow many routes to be pushed to clients, the client config file must specify the max-routes option, and the number of pushed routes cannot exceed this limit. Also, both server and client must include this commit. git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@4991 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/route.c b/route.c
index 988c7ab..24d4bd8 100644
--- a/route.c
+++ b/route.c
@@ -740,7 +740,7 @@ delete_routes (struct route_list *rl, const struct tuntap *tt, unsigned int flag
}
undo_redirect_default_route_to_vpn (rl, tt, flags, es);
- CLEAR (*rl);
+ clear_route_list (rl);
}
#ifdef ENABLE_DEBUG