summaryrefslogtreecommitdiff
path: root/net/openbgpd6/files/patch-src_bgpd_bgpd.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/openbgpd6/files/patch-src_bgpd_bgpd.h')
-rw-r--r--net/openbgpd6/files/patch-src_bgpd_bgpd.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/net/openbgpd6/files/patch-src_bgpd_bgpd.h b/net/openbgpd6/files/patch-src_bgpd_bgpd.h
new file mode 100644
index 000000000000..14df54585928
--- /dev/null
+++ b/net/openbgpd6/files/patch-src_bgpd_bgpd.h
@@ -0,0 +1,23 @@
+--- src/bgpd/bgpd.h.orig 2020-05-19 09:24:33 UTC
++++ src/bgpd/bgpd.h
+@@ -130,7 +130,8 @@ enum bgpd_process {
+ PROC_MAIN,
+ PROC_SE,
+ PROC_RDE
+-} bgpd_process;
++};
++extern enum bgpd_process bgpd_process;
+
+ enum reconf_action {
+ RECONF_NONE,
+@@ -532,6 +533,10 @@ enum imsg_type {
+ IMSG_XON,
+ IMSG_XOFF
+ };
++
++extern struct imsgbuf *ibuf_se;
++extern struct imsgbuf *ibuf_rde;
++extern struct imsgbuf *ibuf_main;
+
+ struct demote_msg {
+ char demote_group[IFNAMSIZ];