diff options
author | 2018-10-24 09:02:48 +0000 | |
---|---|---|
committer | 2018-10-24 09:02:48 +0000 | |
commit | 4ca2c842ccdee830eb4ad2641434c8f1aa8712c6 (patch) | |
tree | 46168d7b6b7c013d35bfb0f5969a252d966c4f2a | |
parent | Major refactoring of the RIB handling code. Mainly change how the RIB is (diff) | |
download | wireguard-openbsd-4ca2c842ccdee830eb4ad2641434c8f1aa8712c6.tar.xz wireguard-openbsd-4ca2c842ccdee830eb4ad2641434c8f1aa8712c6.zip |
fix show ip bgp out/in
Update usage message and add missing "neighbor" argument.
OK benno@
-rw-r--r-- | usr.bin/bgplg/bgplg.h | 10 |
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, "<asnum>", \ { BGPCTL, "show","ip", "bgp", "detail", "as", NULL } }, \ - { "show ip bgp in", 1, 1, "<prefix>", \ - { BGPCTL, "show","ip", "bgp", "in", NULL } }, \ - { "show ip bgp out", 1, 1, "<prefix>", \ - { BGPCTL, "show","ip", "bgp", "out", NULL } }, \ + { "show ip bgp in", 1, 1, "<neighbor>", \ + { BGPCTL, "show","ip", "bgp", "in", "neighbor", NULL } }, \ + { "show ip bgp out", 1, 1, "<neighbor>", \ + { 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, \ |