summaryrefslogtreecommitdiffstats
path: root/route.c
diff options
context:
space:
mode:
Diffstat (limited to 'route.c')
-rw-r--r--route.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/route.c b/route.c
index 988c7ab..24d4bd8 100644
--- a/route.c
+++ b/route.c
@@ -740,7 +740,7 @@ delete_routes (struct route_list *rl, const struct tuntap *tt, unsigned int flag
}
undo_redirect_default_route_to_vpn (rl, tt, flags, es);
- CLEAR (*rl);
+ clear_route_list (rl);
}
#ifdef ENABLE_DEBUG