summaryrefslogtreecommitdiff
path: root/usr.sbin
diff options
context:
space:
mode:
Diffstat (limited to 'usr.sbin')
-rw-r--r--usr.sbin/bgpctl/bgpctl.84
-rw-r--r--usr.sbin/bgpctl/parser.c4
2 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpctl/bgpctl.8 b/usr.sbin/bgpctl/bgpctl.8
index d0a8267ed50..67255919e41 100644
--- a/usr.sbin/bgpctl/bgpctl.8
+++ b/usr.sbin/bgpctl/bgpctl.8
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bgpctl.8,v 1.33 2006/05/23 12:14:34 henning Exp $
+.\" $OpenBSD: bgpctl.8,v 1.34 2006/05/26 05:07:15 henning Exp $
.\"
.\" Copyright (c) 2003 Henning Brauer <henning@openbsd.org>
.\"
@@ -71,7 +71,7 @@ may be the neighbor's address or description.
Stop and restart the BGP session to the specified neighbor.
.Ar peer
may be the neighbor's address or description.
-.It Cm neighbor Ar peer Cm rrefresh
+.It Cm neighbor Ar peer Cm refresh
Request the neighbor to re-send all routes.
Note that the neighbor is not obliged to re-send all routes, or any routes at
all, even if it announced the route refresh capability.
diff --git a/usr.sbin/bgpctl/parser.c b/usr.sbin/bgpctl/parser.c
index 227a0fef217..ac7cddf90d2 100644
--- a/usr.sbin/bgpctl/parser.c
+++ b/usr.sbin/bgpctl/parser.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parser.c,v 1.30 2006/05/23 12:14:34 henning Exp $ */
+/* $OpenBSD: parser.c,v 1.31 2006/05/26 05:07:15 henning Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -166,7 +166,7 @@ static const struct token t_neighbor_modifiers[] = {
{ KEYWORD, "up", NEIGHBOR_UP, NULL},
{ KEYWORD, "down", NEIGHBOR_DOWN, NULL},
{ KEYWORD, "clear", NEIGHBOR_CLEAR, NULL},
- { KEYWORD, "rrefresh", NEIGHBOR_RREFRESH, NULL},
+ { KEYWORD, "refresh", NEIGHBOR_RREFRESH, NULL},
{ ENDTOKEN, "", NONE, NULL}
};