summaryrefslogtreecommitdiff
path: root/main/openvpn/src
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/src
parentb79286ec96f5853ba53a73b62b985b12d87d8af0 (diff)
fix last unblock patch
Diffstat (limited to 'main/openvpn/src')
-rw-r--r--main/openvpn/src/openvpn/route.c4
1 files changed, 2 insertions, 2 deletions
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;