summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-17 18:05:47 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-17 18:05:47 +0000
commit7653b17b00ffe6885bd43a1640bf2b151c6a1a43 (patch)
tree6b40794cfb9e60267ca1720a7e6162050cc56e1b /usr.sbin/bgpd/session.c
parentc87463830faa4cc3b817372cce447bd58c8b3bca (diff)
allow the interfaces as bgpd sees 'em to be queried via imsgs
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r--usr.sbin/bgpd/session.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c
index 526022863f6..650d4c9abd4 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.87 2004/01/13 13:34:56 claudio Exp $ */
+/* $OpenBSD: session.c,v 1.88 2004/01/17 18:05:46 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -1467,6 +1467,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx)
case IMSG_CTL_KROUTE:
case IMSG_CTL_KROUTE_ADDR:
case IMSG_CTL_SHOW_NEXTHOP:
+ case IMSG_CTL_SHOW_INTERFACE:
case IMSG_CTL_END:
if (idx != PFD_PIPE_MAIN)
fatalx("ctl kroute request not from parent");