summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjob <job@cvs.openbsd.org>2018-02-02 13:46:18 +0000
committerjob <job@cvs.openbsd.org>2018-02-02 13:46:18 +0000
commitabbecb0dc5339ade150ff53d549d2eaec9dd918a (patch)
tree5e1eea32ec043f3a8c1ba7c59922f92de4d6905f
parenteba5f57ba6af6d617903f29f3427213a1b3388e4 (diff)
Fix 'show ip bgp detail as' error.
Thanks Pierre Emeriaud <petrus.lt+openbsd@gmail.com>!
-rw-r--r--usr.bin/bgplg/bgplg.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/bgplg/bgplg.h b/usr.bin/bgplg/bgplg.h
index abe0a4099c6..3fa2c82cf07 100644
--- a/usr.bin/bgplg/bgplg.h
+++ b/usr.bin/bgplg/bgplg.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgplg.h,v 1.13 2017/12/18 09:12:49 job Exp $ */
+/* $OpenBSD: bgplg.h,v 1.14 2018/02/02 13:46:17 job Exp $ */
/*
* Copyright (c) 2005, 2006 Reyk Floeter <reyk@openbsd.org>
@@ -57,7 +57,7 @@ struct cmd {
{ BGPCTL, "show","ip", "bgp", "detail", "large-community", NULL } },\
{ "show ip bgp detail", 1, 1, "&lt;prefix&gt;", \
{ BGPCTL, "show","ip", "bgp", "detail", NULL } }, \
- { "show ip bgp detail as", 1, 1, "&lt;prefix&gt;", \
+ { "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 } }, \