summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2006-04-06 12:33:18 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2006-04-06 12:33:18 +0000
commit8b3aa91606f1bfd08b3f0d13f6751920bff9500d (patch)
tree947ecad85f15bfda784f2218ff9daa21bb2a72b8
parent585b5fc5de363904af797227572f085ef9899265 (diff)
Add missing break. Now bgpctl show rib det source-as 8271 shows all announced
prefixes not only the first one.
-rw-r--r--usr.sbin/bgpctl/bgpctl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.c b/usr.sbin/bgpctl/bgpctl.c
index 4bd466cfa79..6d55e0be7ad 100644
--- a/usr.sbin/bgpctl/bgpctl.c
+++ b/usr.sbin/bgpctl/bgpctl.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpctl.c,v 1.102 2006/03/22 10:25:49 claudio Exp $ */
+/* $OpenBSD: bgpctl.c,v 1.103 2006/04/06 12:33:17 claudio Exp $ */
/*
* Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
@@ -1129,6 +1129,7 @@ show_rib_detail_msg(struct imsg *imsg, int nodescr)
show_community(data, alen);
printf("\n");
}
+ break;
case IMSG_CTL_END:
printf("\n");
return (1);