From 013a9b91fe495371cbf9a5690613de45b634e3af Mon Sep 17 00:00:00 2001 From: Martin Mares Date: Sat, 13 Feb 1999 20:46:03 +0000 Subject: When shutting down, remove all routes (except for RTS_INHERIT and RTS_DEVICE routes) from kernel routing tables unless the "persist" switch is set. --- sysdep/unix/sync-rt.c | 1 + 1 file changed, 1 insertion(+) (limited to 'sysdep/unix/sync-rt.c') 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; } -- cgit v1.2.3