summaryrefslogtreecommitdiff
path: root/usr.sbin/ospfd/control.c
diff options
context:
space:
mode:
authorEsben Norby <norby@cvs.openbsd.org>2005-05-12 19:10:13 +0000
committerEsben Norby <norby@cvs.openbsd.org>2005-05-12 19:10:13 +0000
commit87af8df0cfa319a592cd86ee0f15a509f7f68f4e (patch)
tree87e7d594ec73db7e00fb2c6f56e1a330fc16f031 /usr.sbin/ospfd/control.c
parent0d2ea09ba3d08079bffd80802508fce862db44e6 (diff)
Add "show database asbr/external/network/router/self-originate/summary"
to ospfctl. Show detailed information about the LSAs in the Link State Database. ok claudio@
Diffstat (limited to 'usr.sbin/ospfd/control.c')
-rw-r--r--usr.sbin/ospfd/control.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/usr.sbin/ospfd/control.c b/usr.sbin/ospfd/control.c
index bbd8231e6e0..3c7dab95fe0 100644
--- a/usr.sbin/ospfd/control.c
+++ b/usr.sbin/ospfd/control.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: control.c,v 1.10 2005/03/26 13:35:16 claudio Exp $ */
+/* $OpenBSD: control.c,v 1.11 2005/05/12 19:10:12 norby Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -244,6 +244,12 @@ control_dispatch_imsg(int fd, short event, void *bula)
}
break;
case IMSG_CTL_SHOW_DATABASE:
+ case IMSG_CTL_SHOW_DB_EXT:
+ case IMSG_CTL_SHOW_DB_NET:
+ case IMSG_CTL_SHOW_DB_RTR:
+ case IMSG_CTL_SHOW_DB_SELF:
+ case IMSG_CTL_SHOW_DB_SUM:
+ case IMSG_CTL_SHOW_DB_ASBR:
c->ibuf.pid = imsg.hdr.pid;
ospfe_imsg_compose_rde(imsg.hdr.type, 0, imsg.hdr.pid,
imsg.data, imsg.hdr.len - IMSG_HEADER_SIZE);