[Olsr-dev] [PATCH v1 06/19] gateway: clear gw_handler during cleanup
Ferry Huberts
(spam-protected)
Thu Aug 23 15:12:30 CEST 2012
From: Ferry Huberts <(spam-protected)>
Signed-off-by: Ferry Huberts <(spam-protected)>
---
src/gateway.c | 1 +
1 file changed, 1 insertion(+)
diff --git a/src/gateway.c b/src/gateway.c
index fdf34d4..abdc85f 100644
--- a/src/gateway.c
+++ b/src/gateway.c
@@ -214,6 +214,7 @@ void olsr_cleanup_gateways(void) {
olsr_remove_ifchange_handler(smartgw_tunnel_monitor);
assert(gw_handler);
+ gw_handler = NULL;
olsr_os_cleanup_iptunnel(olsr_cnf->ip_version == AF_INET ? TUNNEL_ENDPOINT_IF : TUNNEL_ENDPOINT_IF6);
}
--
1.7.11.4
More information about the Olsr-dev
mailing list