summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorclaudio <claudio@openbsd.org>2006-04-06 12:33:17 +0000
committerclaudio <claudio@openbsd.org>2006-04-06 12:33:17 +0000
commitcc312ca17874a1bae75428f314754b3944843160 (patch)
tree05cdefcd4110e707027bc9bac5b690c8e19e1373
parentDocument show rib detail and friends. Some input by jmc@ getting dust in one (diff)
downloadwireguard-openbsd-cc312ca17874a1bae75428f314754b3944843160.tar.xz
wireguard-openbsd-cc312ca17874a1bae75428f314754b3944843160.zip
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);