summaryrefslogtreecommitdiff
path: root/usr.bin/bgplg
diff options
context:
space:
mode:
authordenis <denis@cvs.openbsd.org>2018-10-24 09:02:49 +0000
committerdenis <denis@cvs.openbsd.org>2018-10-24 09:02:49 +0000
commit4882e49c5a80ee1b97e2c4c5761fd37c59f4d1e4 (patch)
treeff8a342147094be254148205f829eda2b47c5987 /usr.bin/bgplg
parent519ec0368c242d9324c19a3161017fd6c9a17579 (diff)
fix show ip bgp out/in
Update usage message and add missing "neighbor" argument. OK benno@
Diffstat (limited to 'usr.bin/bgplg')
-rw-r--r--usr.bin/bgplg/bgplg.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/usr.bin/bgplg/bgplg.h b/usr.bin/bgplg/bgplg.h
index 3fa2c82cf07..cdc896c9e90 100644
--- a/usr.bin/bgplg/bgplg.h
+++ b/usr.bin/bgplg/bgplg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgplg.h,v 1.14 2018/02/02 13:46:17 job Exp $ */
+/* $OpenBSD: bgplg.h,v 1.15 2018/10/24 09:02:48 denis Exp $ */
/*
* Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
@@ -59,10 +59,10 @@ struct cmd {
{ BGPCTL, "show","ip", "bgp", "detail", NULL } }, \
{ "show ip bgp detail as", 1, 1, "&lt;asnum&gt;", \
{ BGPCTL, "show","ip", "bgp", "detail", "as", NULL } }, \
- { "show ip bgp in", 1, 1, "&lt;prefix&gt;", \
- { BGPCTL, "show","ip", "bgp", "in", NULL } }, \
- { "show ip bgp out", 1, 1, "&lt;prefix&gt;", \
- { BGPCTL, "show","ip", "bgp", "out", NULL } }, \
+ { "show ip bgp in", 1, 1, "&lt;neighbor&gt;", \
+ { BGPCTL, "show","ip", "bgp", "in", "neighbor", NULL } }, \
+ { "show ip bgp out", 1, 1, "&lt;neighbor&gt;", \
+ { BGPCTL, "show","ip", "bgp", "out", "neighbor", NULL } }, \
{ "show ip bgp memory", 0, 0, NULL, \
{ BGPCTL, "show", "ip", "bgp", "memory", NULL } }, \
{ "show neighbor", 0, 1, NULL, \