summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/control.c
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:49:18 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-01-03 22:49:18 +0000
commitb7edfa3948e4771e4f64dfa20a7d3416b0b86f2c (patch)
treecf912a05718faa7293409c263a3ed1a9ff95bdc8 /usr.sbin/bgpd/control.c
parenta9828406adf7896570c78cd00b9b93f7614451b7 (diff)
Track some (memory) statistics in the RDE. Accessible via bgpctl.
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 18f63aa8dc8..b2cb2418c67 100644
--- a/usr.sbin/bgpd/control.c
+++ b/usr.sbin/bgpd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.45 2005/10/19 12:32:16 henning Exp $ */
+/* $OpenBSD: control.c,v 1.46 2006/01/03 22:49:17 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -288,6 +288,7 @@ control_dispatch_msg(struct pollfd *pfd, u_int *ctl_cnt)
case IMSG_CTL_SHOW_RIB:
case IMSG_CTL_SHOW_RIB_AS:
case IMSG_CTL_SHOW_RIB_PREFIX:
+ case IMSG_CTL_SHOW_RIB_MEM:
case IMSG_CTL_SHOW_NETWORK:
c->ibuf.pid = imsg.hdr.pid;
imsg_compose_rde(imsg.hdr.type, imsg.hdr.pid,