diff options
Diffstat (limited to 'usr.sbin/ospfd/control.c')
-rw-r--r-- | usr.sbin/ospfd/control.c | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c index e22b1ce13a6..6e4ddea3e71 100644 --- a/usr.sbin/ospfd/control.c +++ b/usr.sbin/ospfd/control.c @@ -1,4 +1,4 @@ -/* $OpenBSD: control.c,v 1.3 2005/03/12 10:49:12 norby Exp $ */ +/* $OpenBSD: control.c,v 1.4 2005/03/12 11:03:05 norby Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -242,6 +242,11 @@ control_dispatch_imsg(int fd, short event, void *bula) case IMSG_CTL_SHOW_NBR: ospfe_nbr_ctl(c); break; + case IMSG_CTL_SHOW_RIB: + c->ibuf.pid = imsg.hdr.pid; + ospfe_imsg_compose_rde(imsg.hdr.type, 0, imsg.hdr.pid, + imsg.data, imsg.hdr.len - IMSG_HEADER_SIZE); + break; default: log_debug("control_dispatch_imsg: " "error handling imsg %d", imsg.hdr.type); |