From: job Date: Fri, 2 Feb 2018 13:46:17 +0000 (+0000) Subject: Fix 'show ip bgp detail as' error. X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=31a0a388aaf11951738af3be1893bd562a2b1146;p=openbsd Fix 'show ip bgp detail as' error. Thanks Pierre Emeriaud ! --- 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 @@ -57,7 +57,7 @@ struct cmd { { BGPCTL, "show","ip", "bgp", "detail", "large-community", NULL } },\ { "show ip bgp detail", 1, 1, "<prefix>", \ { BGPCTL, "show","ip", "bgp", "detail", NULL } }, \ - { "show ip bgp detail as", 1, 1, "<prefix>", \ + { "show ip bgp detail as", 1, 1, "<asnum>", \ { BGPCTL, "show","ip", "bgp", "detail", "as", NULL } }, \ { "show ip bgp in", 1, 1, "<prefix>", \ { BGPCTL, "show","ip", "bgp", "in", NULL } }, \