From c1e421e95ee9589cf90d85767d4fd2c0af8c8e5d Mon Sep 17 00:00:00 2001 From: Arne Schwabe Date: Mon, 17 Feb 2014 23:33:41 +0100 Subject: fix last unblock patch --- main/openvpn/src/openvpn/route.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'main/openvpn/src') 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; -- cgit v1.2.3