From 4882e49c5a80ee1b97e2c4c5761fd37c59f4d1e4 Mon Sep 17 00:00:00 2001 From: denis Date: Wed, 24 Oct 2018 09:02:49 +0000 Subject: fix show ip bgp out/in Update usage message and add missing "neighbor" argument. OK benno@ --- usr.bin/bgplg/bgplg.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'usr.bin/bgplg') 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 @@ -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, \ -- cgit v1.2.3