summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd
diff options
context:
space:
mode:
authorHenning Brauer <henning@cvs.openbsd.org>2004-01-26 21:08:19 +0000
committerHenning Brauer <henning@cvs.openbsd.org>2004-01-26 21:08:19 +0000
commit41b6769e8c7b2c7e22acda7251c49dd54d22790d (patch)
tree7b555a7d377a27045fdea009421dcb1bcf35c375 /usr.sbin/bgpd
parent0af4082840f7323ba99c64e82ca3c21264b4fcd1 (diff)
rename "tcp signature" to "tcp md5sig" - the name is misleading, wether
ietf wants to call it so or not prodded by theo
Diffstat (limited to 'usr.sbin/bgpd')
-rw-r--r--usr.sbin/bgpd/parse.y8
1 files changed, 4 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/parse.y b/usr.sbin/bgpd/parse.y
index 93f39a3c4a8..33c4024506b 100644
--- a/usr.sbin/bgpd/parse.y
+++ b/usr.sbin/bgpd/parse.y
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.y,v 1.40 2004/01/26 14:42:47 henning Exp $ */
+/* $OpenBSD: parse.y,v 1.41 2004/01/26 21:08:18 henning Exp $ */
/*
* Copyright (c) 2002, 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -92,7 +92,7 @@ typedef struct {
%token REMOTEAS DESCR LOCALADDR MULTIHOP PASSIVE MAXPREFIX ANNOUNCE
%token DUMP MSG IN TABLE
%token LOG UPDATES
-%token TCP SIGNATURE KEY
+%token TCP MD5SIG KEY
%token ERROR
%token <v.string> STRING
%type <v.number> number optnumber yesno
@@ -348,7 +348,7 @@ peeropts : REMOTEAS number {
| MAXPREFIX number {
curpeer->conf.max_prefix = $2;
}
- | TCP SIGNATURE KEY string {
+ | TCP MD5SIG KEY string {
unsigned i;
for (i = 0; i < strlen($4); i++)
@@ -408,6 +408,7 @@ lookup(char *s)
{ "local-address", LOCALADDR},
{ "log", LOG},
{ "max-prefix", MAXPREFIX},
+ { "md5sig", MD5SIG},
{ "min", YMIN},
{ "msg", MSG},
{ "multihop", MULTIHOP},
@@ -417,7 +418,6 @@ lookup(char *s)
{ "passive", PASSIVE},
{ "remote-as", REMOTEAS},
{ "router-id", ROUTERID},
- { "signature", SIGNATURE},
{ "table", TABLE},
{ "tcp", TCP},
{ "updates", UPDATES},