summaryrefslogtreecommitdiff
path: root/ospf6d/ospf6_main.c
diff options
context:
space:
mode:
authorPhil Laverdiere <phil_laverdiere@securecomputing.com>2012-01-02 20:04:26 +0400
committerDenis Ovsienko <infrastation@yandex.ru>2012-02-21 21:35:07 +0400
commitef2d5d100431031c32ea35b3c834b46cff16f511 (patch)
treec327572a6ea15d00abc8e70b45f41affb0b2d21f /ospf6d/ospf6_main.c
parent4c78376f96cd2ca56f1c6476b76fd659654431f5 (diff)
ospf6d: remove own routes on SIGTERM (BZ#448)
Diffstat (limited to 'ospf6d/ospf6_main.c')
-rw-r--r--ospf6d/ospf6_main.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ospf6d/ospf6_main.c b/ospf6d/ospf6_main.c
index d40bd97f..d3ef0a6a 100644
--- a/ospf6d/ospf6_main.c
+++ b/ospf6d/ospf6_main.c
@@ -180,6 +180,7 @@ static void
sigterm (void)
{
zlog_notice ("Terminating on signal SIGTERM");
+ ospf6_clean();
ospf6_exit (0);
}