summaryrefslogtreecommitdiff
path: root/proto/bgp/config.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2022-01-10 11:43:21 +0100
committerMaria Matejka <mq@ucw.cz>2022-02-03 10:30:33 +0100
commitaca4c3fc8e4a6043cafcb8778055d9a505283376 (patch)
treebbe24ef4aab4068756f818ac1751671f768a078b /proto/bgp/config.Y
parentfccaeb0141136b192884f76edd0a53575f47d87e (diff)
BGP now runs in its own thread
Diffstat (limited to 'proto/bgp/config.Y')
-rw-r--r--proto/bgp/config.Y1
1 files changed, 1 insertions, 0 deletions
diff --git a/proto/bgp/config.Y b/proto/bgp/config.Y
index 2dfbdca9..8e42bbdb 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -48,6 +48,7 @@ proto: bgp_proto '}' ;
bgp_proto_start: proto_start BGP {
this_proto = proto_config_new(&proto_bgp, $1);
+ this_proto->loop_order = DOMAIN_ORDER(proto);
BGP_CFG->local_port = BGP_PORT;
BGP_CFG->remote_port = BGP_PORT;
BGP_CFG->multihop = -1; /* undefined */