summaryrefslogtreecommitdiff
path: root/proto/bgp/config.Y
diff options
context:
space:
mode:
authorMaria Matejka <mq@ucw.cz>2023-04-02 19:35:35 +0200
committerMaria Matejka <mq@ucw.cz>2023-04-04 17:00:59 +0200
commite33902e15cb5399900fd346b4dba522ad821f0f0 (patch)
tree9871b9d131b4445871078f6d42cc86d0c507485a /proto/bgp/config.Y
parent836e857b3098f8962c621a33f7ae5b532cf512f3 (diff)
BGP now has its own loop
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 a51c82bd..8b0d4356 100644
--- a/proto/bgp/config.Y
+++ b/proto/bgp/config.Y
@@ -52,6 +52,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 */