summaryrefslogtreecommitdiff
path: root/main/openvpn
diff options
context:
space:
mode:
authorArne Schwabe <arne@rfc2549.org>2014-02-17 23:33:41 +0100
committerArne Schwabe <arne@rfc2549.org>2014-02-17 23:33:41 +0100
commitc1e421e95ee9589cf90d85767d4fd2c0af8c8e5d (patch)
tree6a9c71f66d40d109cf75e997f0973ed8a5f37d95 /main/openvpn
parentb79286ec96f5853ba53a73b62b985b12d87d8af0 (diff)
fix last unblock patch
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;