summaryrefslogtreecommitdiff
path: root/usr.sbin/bgpd/bgpd.h
diff options
context:
space:
mode:
authorClaudio Jeker <claudio@cvs.openbsd.org>2004-01-13 13:34:57 +0000
committerClaudio Jeker <claudio@cvs.openbsd.org>2004-01-13 13:34:57 +0000
commit1362b94978385d3814ccba450d0fe991c491b1a1 (patch)
treeca8868203a18bb5916f702b5eb9e7a1ca8d794a9 /usr.sbin/bgpd/bgpd.h
parent49fb134781c0e49beca418a3ea4b43b807728a92 (diff)
Better update error handling. Ensure that the session goes down and
ignore all queued updates after an error. Looks good henning@
Diffstat (limited to 'usr.sbin/bgpd/bgpd.h')
-rw-r--r--usr.sbin/bgpd/bgpd.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/usr.sbin/bgpd/bgpd.h b/usr.sbin/bgpd/bgpd.h
index c20da322fe8..69583f9eff2 100644
--- a/usr.sbin/bgpd/bgpd.h
+++ b/usr.sbin/bgpd/bgpd.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: bgpd.h,v 1.66 2004/01/11 22:01:13 henning Exp $ */
+/* $OpenBSD: bgpd.h,v 1.67 2004/01/13 13:34:56 claudio Exp $ */
/*
* Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
@@ -188,7 +188,8 @@ LIST_HEAD(mrt_head, mrt);
/* error subcode for UPDATE; needed in SE and RDE */
enum suberr_update {
- ERR_UPD_ATTRLIST = 1,
+ ERR_UPD_UNSPECIFIC,
+ ERR_UPD_ATTRLIST,
ERR_UPD_UNKNWN_WK_ATTR,
ERR_UPD_MISSNG_WK_ATTR,
ERR_UPD_ATTRFLAGS,