diff options
author | Maria Matejka <mq@ucw.cz> | 2023-04-24 16:10:59 +0200 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-04-25 09:52:28 +0200 |
commit | ce7495b49a5192b1cba17fd88cdb2495a40824e2 (patch) | |
tree | 005901ea2c816483fd1e195a066b0685f8c4d7b9 /proto/bfd/bfd.c | |
parent | 19e79eb8adddb6194248974443b9a906f66984ce (diff) |
Refactoring of domains connected to pools
Diffstat (limited to 'proto/bfd/bfd.c')
-rw-r--r-- | proto/bfd/bfd.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/proto/bfd/bfd.c b/proto/bfd/bfd.c index f7d8f8d9..e373e4dd 100644 --- a/proto/bfd/bfd.c +++ b/proto/bfd/bfd.c @@ -1232,7 +1232,9 @@ bfd_build(void) { proto_build(&proto_bfd); - bfd_global.lock = DOMAIN_NEW(rtable, "BFD Global"); + bfd_global.lock = DOMAIN_NEW(rtable); + DOMAIN_SETUP(rtable, bfd_global.lock, "BFD Global", NULL); + init_list(&bfd_global.wait_list); init_list(&bfd_global.pickup_list); init_list(&bfd_global.proto_list); |