summaryrefslogtreecommitdiff
path: root/main/openvpn
diff options
context:
space:
mode:
Diffstat (limited to 'main/openvpn')
-rw-r--r--main/openvpn/config-version.h2
-rw-r--r--main/openvpn/src/openvpn/route.c4
2 files changed, 3 insertions, 3 deletions
diff --git a/main/openvpn/config-version.h b/main/openvpn/config-version.h
index af40e1c5..590cc07b 100644
--- a/main/openvpn/config-version.h
+++ b/main/openvpn/config-version.h
@@ -1,2 +1,2 @@
-#define CONFIGURE_GIT_REVISION "icsopenvpn_70-fa4f88b2ae9987e6"
+#define CONFIGURE_GIT_REVISION "icsopenvpn_70-5bf4db9f5bf243fa"
#define CONFIGURE_GIT_FLAGS ""
diff --git a/main/openvpn/src/openvpn/route.c b/main/openvpn/src/openvpn/route.c
index 14bcfec2..545a929b 100644
--- a/main/openvpn/src/openvpn/route.c
+++ b/main/openvpn/src/openvpn/route.c
@@ -526,7 +526,7 @@ add_unblock_local (struct route_list *rl)
ALLOC_OBJ_GC (r, struct route_ipv4, &rl->gc);
int i;
- CLEAR(r);
+ CLEAR(*r);
r->flags = RT_DEFINED;
r->network = rl->rgi.gateway.addr & rl->rgi.gateway.netmask;
r->netmask = rl->rgi.gateway.netmask;
@@ -544,7 +544,7 @@ add_unblock_local (struct route_list *rl)
&& rl->rgi.gateway.netmask == gwa->netmask))
{
ALLOC_OBJ_GC (r, struct route_ipv4, &rl->gc);
- CLEAR(r);
+ CLEAR(*r);
r->flags = RT_DEFINED;
r->network = gwa->addr & gwa->netmask;
r->netmask = gwa->netmask;