summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-11 02:35:15 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-11 02:35:15 +0000
commit79985b6c591f4b1d7147d938dc9f7d0a2a6a288a (patch)
tree2619d894358340444fa9abf407469c036bd28e21 /usr.sbin/bgpd/control.c
parent0481fa450146250191a980ac1b919baf24c0b7da (diff)
new message IMSG_CTL_SHOW_NEXTHOP: request/send lost of BGP nexthops and
the result of their validity check
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 92865d759e8..20e28337965 100644
--- a/usr.sbin/bgpd/control.c
+++ b/usr.sbin/bgpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.15 2004/01/09 19:08:50 henning Exp $ */
+/* $OpenBSD: control.c,v 1.16 2004/01/11 02:35:14 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -268,6 +268,7 @@ control_dispatch_msg(struct pollfd *pfd, int i)
break;
case IMSG_CTL_KROUTE:
case IMSG_CTL_KROUTE_ADDR:
+ case IMSG_CTL_SHOW_NEXTHOP:
c->ibuf.pid = imsg.hdr.pid;
imsg_compose_parent(imsg.hdr.type, imsg.hdr.pid,
imsg.data, imsg.hdr.len - IMSG_HEADER_SIZE);