diff options
author | 2004-03-05 21:44:26 +0000 | |
---|---|---|
committer | 2004-03-05 21:44:26 +0000 | |
commit | 9f9a2d6e606d61f4b325bde5b32ee0e74b06f4dd (patch) | |
tree | e510f3d44529c46506e19d4500b864392dd9601d | |
parent | Remove duplicate defines. BSD airtools uses WI_STYPE_CTL_CFENDCFACK (diff) | |
download | wireguard-openbsd-9f9a2d6e606d61f4b325bde5b32ee0e74b06f4dd.tar.xz wireguard-openbsd-9f9a2d6e606d61f4b325bde5b32ee0e74b06f4dd.zip |
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 { |