summaryrefslogtreecommitdiff
path: root/usr.sbin/ldpd/kroute.c
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin/ldpd/kroute.c')
-rw-r--r--usr.sbin/ldpd/kroute.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ldpd/kroute.c b/usr.sbin/ldpd/kroute.c
index 9e64e75ac58..800d4b5bdae 100644
--- a/usr.sbin/ldpd/kroute.c
+++ b/usr.sbin/ldpd/kroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: kroute.c,v 1.23 2010/10/15 13:18:45 claudio Exp $ */
+/* $OpenBSD: kroute.c,v 1.24 2010/10/20 12:16:41 claudio Exp $ */
/*
* Copyright (c) 2009 Michele Marchetto <michele@openbsd.org>
@@ -260,6 +260,7 @@ kr_shutdown(void)
kr_state.fib_sync = 1; /* force removal of mulitcast route */
(void)send_rtmsg(kr_state.fd, RTM_DELETE, &kr_all_routers,
AF_INET);
+ kr_state.fib_sync = 0; /* back to decoupled state */
}
kroute_clear();