Fix 'show ip bgp detail as' error.
authorjob <job@openbsd.org>
Fri, 2 Feb 2018 13:46:17 +0000 (13:46 +0000)
committerjob <job@openbsd.org>
Fri, 2 Feb 2018 13:46:17 +0000 (13:46 +0000)
Thanks Pierre Emeriaud <petrus.lt+openbsd@gmail.com>!

usr.bin/bgplg/bgplg.h

index abe0a40..3fa2c82 100644 (file)
@@ -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 } },               \