summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-03-02 19:29:02 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-03-02 19:29:02 +0000
commit4f66842855ac46ad2eb084b7ac5e3d7440343c43 (patch)
treec9cbd683d87cfb064aa43696b8692d4c2853a8fc /usr.sbin/bgpd/control.c
parentfd132de7c26e445b04edcaf93889474be016d485 (diff)
Framework for rib lookups by prefix. OK henning@
Diffstat (limited to 'usr.sbin/bgpd/control.c')
-rw-r--r--usr.sbin/bgpd/control.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/control.c b/usr.sbin/bgpd/control.c
index a8099a3324b..7e862b42807 100644
--- a/usr.sbin/bgpd/control.c
+++ b/usr.sbin/bgpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.24 2004/02/29 22:48:01 henning Exp $ */
+/* $OpenBSD: control.c,v 1.25 2004/03/02 19:29:01 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -283,6 +283,7 @@ control_dispatch_msg(struct pollfd *pfd, int i)
break;
case IMSG_CTL_SHOW_RIB:
case IMSG_CTL_SHOW_RIB_AS:
+ case IMSG_CTL_SHOW_RIB_PREFIX:
c->ibuf.pid = imsg.hdr.pid;
imsg_compose_rde(imsg.hdr.type, imsg.hdr.pid,
imsg.data, imsg.hdr.len - IMSG_HEADER_SIZE);