summaryrefslogtreecommitdiff
path: root/net/openbgpd/files/patch-bgpd_log.h
diff options
context:
space:
mode:
authorKurt Jaeger <pi@FreeBSD.org>2019-06-03 20:08:36 +0000
committerKurt Jaeger <pi@FreeBSD.org>2019-06-03 20:08:36 +0000
commit713c2289b8d66d3752c1225ca18d740daa50c8fc (patch)
tree26af7b6de4c410d2e2810fec4c81c3ab0b9c5e76 /net/openbgpd/files/patch-bgpd_log.h
parentUpgrade to 0.0.5 (diff)
net/openbgpd: revert upgrade from 6.5p0 to 5.2.20121209
- openbgpd version 6.5p0 was the "portable" version, which specifically does *not* support kernel routing updates. - Therefore this is only suitable for route servers/collectors, not for production use in routers. This significantly violates POLA :) PR: 213445 Submitted by: Oliver H <oliver@watershed.co.uk>
Diffstat (limited to 'net/openbgpd/files/patch-bgpd_log.h')
-rw-r--r--net/openbgpd/files/patch-bgpd_log.h39
1 files changed, 39 insertions, 0 deletions
diff --git a/net/openbgpd/files/patch-bgpd_log.h b/net/openbgpd/files/patch-bgpd_log.h
new file mode 100644
index 000000000000..3d0d94de2a2e
--- /dev/null
+++ b/net/openbgpd/files/patch-bgpd_log.h
@@ -0,0 +1,39 @@
+Index: bgpd/log.h
+===================================================================
+RCS file: /home/cvs/private/hrs/openbgpd/bgpd/log.h,v
+retrieving revision 1.1.1.2
+retrieving revision 1.1.1.3
+diff -u -p -r1.1.1.2 -r1.1.1.3
+--- bgpd/log.h 9 Jul 2009 16:49:54 -0000 1.1.1.2
++++ bgpd/log.h 13 Oct 2012 18:22:43 -0000 1.1.1.3
+@@ -1,4 +1,4 @@
+-/* $OpenBSD: log.h,v 1.11 2008/09/11 14:49:58 henning Exp $ */
++/* $OpenBSD: log.h,v 1.13 2012/06/10 11:16:08 claudio Exp $ */
+
+ /*
+ * Copyright (c) 2003, 2004 Henning Brauer <henning@openbsd.org>
+@@ -71,6 +71,13 @@ static const char * const suberr_open_na
+ "unsupported capability"
+ };
+
++static const char * const suberr_fsm_names[] = {
++ "unspecified error",
++ "received unexpected message in OpenSent",
++ "received unexpected message in OpenConfirm",
++ "received unexpected message in Established"
++};
++
+ static const char * const suberr_update_names[] = {
+ "none",
+ "attribute list error",
+@@ -109,7 +116,9 @@ static const char * const ctl_res_strerr
+ "no such neighbor",
+ "permission denied",
+ "neighbor does not have this capability",
+- "config file has errors, reload failed"
++ "config file has errors, reload failed",
++ "previous reload still running",
++ "out of memory"
+ };
+
+ static const char * const timernames[] = {