diff options
author | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-05 21:44:27 +0000 |
---|---|---|
committer | Henning Brauer <henning@cvs.openbsd.org> | 2004-03-05 21:44:27 +0000 |
commit | bc7ad6441776f1c97fcdcc45cf7161bc580badae (patch) | |
tree | 31c9aaca0660e306a932dcfcbc26d6524d4bf7e6 | |
parent | f595a560cc0ec70d611d59290f2722bfee9170e1 (diff) |
new error code "unsupported capability" from RFC 3392
-rw-r--r-- | usr.sbin/bgpd/log.c | 5 | ||||
-rw-r--r-- | usr.sbin/bgpd/session.h | 5 |
2 files changed, 6 insertions, 4 deletions
diff --git a/usr.sbin/bgpd/log.c b/usr.sbin/bgpd/log.c index c1696199fc2..d53485a0180 100644 --- a/usr.sbin/bgpd/log.c +++ b/usr.sbin/bgpd/log.c @@ -1,4 +1,4 @@ -/* $OpenBSD: log.c,v 1.28 2004/02/25 23:55:40 henning Exp $ */ +/* $OpenBSD: log.c,v 1.29 2004/03/05 21:44:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -77,7 +77,8 @@ static const char *suberr_open_names[] = { "BGPID invalid", "optional parameter error", "Authentication error", - "unacceptable holdtime" + "unacceptable holdtime", + "unsupported capability" }; static const char *suberr_update_names[] = { diff --git a/usr.sbin/bgpd/session.h b/usr.sbin/bgpd/session.h index 766826469df..0f36cda28d6 100644 --- a/usr.sbin/bgpd/session.h +++ b/usr.sbin/bgpd/session.h @@ -1,4 +1,4 @@ -/* $OpenBSD: session.h,v 1.33 2004/03/05 20:25:30 henning Exp $ */ +/* $OpenBSD: session.h,v 1.34 2004/03/05 21:44:26 henning Exp $ */ /* * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org> @@ -84,7 +84,8 @@ enum suberr_open { ERR_OPEN_BGPID, ERR_OPEN_OPT, ERR_OPEN_AUTH, - ERR_OPEN_HOLDTIME + ERR_OPEN_HOLDTIME, + ERR_OPEN_CAPA }; enum opt_params { |