summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/session.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2018-07-11 16:34:37 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2018-07-11 16:34:37 +0000
commitf3b2cd5b53ad9cc093a914ddd515b2ebb818a11b (patch)
treececeb4f82b631e6fd5219a5e335cbdb83b1a4ae7 /usr.sbin/bgpd/session.c
parentf1dd7ea88f31ec2ec3f3e8d7db1db35a491f3230 (diff)
On IMSG_CTL_SHOW_RIB_MEM also send back information of some of the
hash structures used in the RDE. Makes it fairly obvious that more is needed in that area. OK phessler@ benno@
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 61cd8dc7e7d..1cd90aa3d2c 100644
--- a/usr.sbin/bgpd/session.c
+++ b/usr.sbin/bgpd/session.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: session.c,v 1.364 2017/05/29 14:22:51 benno Exp $ */
+/* $OpenBSD: session.c,v 1.365 2018/07/11 16:34:36 claudio Exp $ */
/*
* Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org>
@@ -2877,6 +2877,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt)
case IMSG_CTL_SHOW_RIB_PREFIX:
case IMSG_CTL_SHOW_RIB_ATTR:
case IMSG_CTL_SHOW_RIB_MEM:
+ case IMSG_CTL_SHOW_RIB_HASH:
case IMSG_CTL_SHOW_NETWORK:
case IMSG_CTL_SHOW_NEIGHBOR:
if (idx != PFD_PIPE_ROUTE_CTL)