[Olsr-dev] [PATCH v1 35/43] main: call olsr_exit in olsr_reconfigure

Ferry Huberts (spam-protected)
Wed Nov 11 17:22:08 CET 2015


From: Ferry Huberts <(spam-protected)>

Since that is the proper way to exit.

Signed-off-by: Ferry Huberts <(spam-protected)>
---
 src/main.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/main.c b/src/main.c
index 2d754a4..acbe56b 100644
--- a/src/main.c
+++ b/src/main.c
@@ -490,7 +490,7 @@ void olsr_reconfigure(int signo __attribute__ ((unused))) {
 #ifndef _WIN32
   errno = errNr;
 #endif
-  olsr_shutdown(0);
+  olsr_exit(NULL, 0);
 }
 #endif /* _WIN32 */
 
-- 
2.5.0




More information about the Olsr-dev mailing list