diff options
author | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-22 10:18:50 +0000 |
---|---|---|
committer | Claudio Jeker <claudio@cvs.openbsd.org> | 2006-03-22 10:18:50 +0000 |
commit | a0c23b70e67fe2df6df71f4a92cc2af672777c76 (patch) | |
tree | 0abf4274bfffc21e1812eb772eb882167e84fde4 /usr.sbin/bgpd/session.c | |
parent | f18d04c61f8638df81719a6648f8b862ceeb1b26 (diff) |
Add a new SHOW imsg to send optional attributes to bgpctl. This can be used
to show communites in bgpctl output. Only send these messages if it they are
requested to reduce the overhead for simple listings. Looks good henning@
Diffstat (limited to 'usr.sbin/bgpd/session.c')
-rw-r--r-- | usr.sbin/bgpd/session.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpd/session.c b/usr.sbin/bgpd/session.c index faf343ae23b..1f46322b205 100644 --- a/usr.sbin/bgpd/session.c +++ b/usr.sbin/bgpd/session.c @@ -1,4 +1,4 @@ -/* $OpenBSD: session.c,v 1.245 2006/03/15 11:33:42 claudio Exp $ */ +/* $OpenBSD: session.c,v 1.246 2006/03/22 10:18:49 claudio Exp $ */ /* * Copyright (c) 2003, 2004, 2005 Henning Brauer <henning@openbsd.org> @@ -2318,6 +2318,7 @@ session_dispatch_imsg(struct imsgbuf *ibuf, int idx, u_int *listener_cnt) break; case IMSG_CTL_SHOW_RIB: case IMSG_CTL_SHOW_RIB_PREFIX: + case IMSG_CTL_SHOW_RIB_ATTR: case IMSG_CTL_SHOW_RIB_MEM: case IMSG_CTL_SHOW_NETWORK: case IMSG_CTL_SHOW_NETWORK6: |