aboutsummaryrefslogtreecommitdiff
path: root/route.c
diff options
context:
space:
mode:
authorjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-05 01:21:49 +0000
committerjames <james@e7ae566f-a301-0410-adde-c780ea21d3b5>2005-12-05 01:21:49 +0000
commit6d5d1010bcab428391d0c33dd753a31def29f972 (patch)
treefd232610fef9624d555dfa1876a2908de37e8454 /route.c
parentsvn merge -r 780:820 $SO/trunk/openvpn . (diff)
downloadopenvpn-6d5d1010bcab428391d0c33dd753a31def29f972.tar.xz
Patch to support --topology subnet on Mac OS X (Mathias Sundman).
git-svn-id: http://svn.openvpn.net/projects/openvpn/branches/BETA21/openvpn@832 e7ae566f-a301-0410-adde-c780ea21d3b5
Diffstat (limited to '')
-rw-r--r--route.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/route.c b/route.c
index 1db0b36..06e1fac 100644
--- a/route.c
+++ b/route.c
@@ -45,7 +45,6 @@
#include "memdbg.h"
-static void add_route (struct route *r, const struct tuntap *tt, unsigned int flags, const struct env_set *es);
static void delete_route (const struct route *r, const struct tuntap *tt, unsigned int flags, const struct env_set *es);
static bool get_default_gateway (in_addr_t *ret);
static void get_bypass_addresses (struct route_bypass *rb, const unsigned int flags);
@@ -741,7 +740,7 @@ setenv_routes (struct env_set *es, const struct route_list *rl)
setenv_route (es, &rl->routes[i], i + 1);
}
-static void
+void
add_route (struct route *r, const struct tuntap *tt, unsigned int flags, const struct env_set *es)
{
struct gc_arena gc;