diff options
author | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-19 10:35:53 +0000 |
---|---|---|
committer | David Gwynne <dlg@cvs.openbsd.org> | 2010-02-19 10:35:53 +0000 |
commit | c7e23a3386688c502957b025f81b43d39dbef10a (patch) | |
tree | 47d9826536c432d68d3637a0767721f9dd693d8c /usr.sbin/ospfd/control.c | |
parent | fbd811739ba75515c19bff2c032f88ede4e82d0a (diff) |
implement ospfctl fib reload.
this tells the daemon to resync the kernels list of interfaces and routes
with the daemons list. this is very useful if the routing socket overflows
and you want to sync things up again.
lots and lots of help from claudio@
ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/control.c')
-rw-r--r-- | usr.sbin/ospfd/control.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c index 0db8e4f6561..aa356354f82 100644 --- a/usr.sbin/ospfd/control.c +++ b/usr.sbin/ospfd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.30 2009/12/08 15:54:50 jsg Exp $ */ +/* $OpenBSD: control.c,v 1.31 2010/02/19 10:35:52 dlg Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -227,6 +227,7 @@ control_dispatch_imsg(int fd, short event, void *bula) case IMSG_CTL_FIB_DECOUPLE: ospfe_fib_update(imsg.hdr.type); /* FALLTHROUGH */ + case IMSG_CTL_FIB_RELOAD: case IMSG_CTL_RELOAD: c->iev.ibuf.pid = imsg.hdr.pid; ospfe_imsg_compose_parent(imsg.hdr.type, 0, NULL, 0); |