summaryrefslogtreecommitdiffstats
path: root/sysdep/unix/sync-rt.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1999-02-13 21:46:03 +0100
committerMartin Mares <mj@ucw.cz>1999-02-13 21:46:03 +0100
commit013a9b91fe495371cbf9a5690613de45b634e3af (patch)
tree29ed464a9658596b389e66c0a206b00e3c94200e /sysdep/unix/sync-rt.c
parent0a2e9d9f5685fb4ca63e02fd3645194bb6de79d7 (diff)
downloadbird-013a9b91fe495371cbf9a5690613de45b634e3af.tar
bird-013a9b91fe495371cbf9a5690613de45b634e3af.zip
When shutting down, remove all routes (except for RTS_INHERIT and RTS_DEVICE
routes) from kernel routing tables unless the "persist" switch is set.
Diffstat (limited to 'sysdep/unix/sync-rt.c')
-rw-r--r--sysdep/unix/sync-rt.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/sysdep/unix/sync-rt.c b/sysdep/unix/sync-rt.c
index 094da1c..99ef92a 100644
--- a/sysdep/unix/sync-rt.c
+++ b/sysdep/unix/sync-rt.c
@@ -43,6 +43,7 @@ krt_shutdown(struct proto *p)
krt_scan_shutdown(k);
krt_if_shutdown(k);
+ krt_set_shutdown(k);
return PS_DOWN;
}