diff options
author | Maria Matejka <mq@ucw.cz> | 2023-02-06 15:06:12 +0100 |
---|---|---|
committer | Maria Matejka <mq@ucw.cz> | 2023-02-07 14:28:25 +0100 |
commit | 9508cd85ce21a476ba47417999d2157594c73c85 (patch) | |
tree | 33a0a963164a44e861894943a90c315863cf1b46 /nest/protocol.h | |
parent | a2fd889a3b95960311560a3796be5cdf92affcfc (diff) |
Protocol shutdown/restart from limits is respecting the loops
Diffstat (limited to 'nest/protocol.h')
-rw-r--r-- | nest/protocol.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/nest/protocol.h b/nest/protocol.h index fdd0373a..dfbfff46 100644 --- a/nest/protocol.h +++ b/nest/protocol.h @@ -123,6 +123,8 @@ struct proto { struct proto_config *cf_new; /* Configuration we want to switch to after shutdown (NULL=delete) */ pool *pool; /* Pool containing local objects */ event *event; /* Protocol event */ + timer *restart_timer; /* Timer to restart the protocol from limits */ + event *restart_event; /* Event to restart/shutdown the protocol from limits */ struct birdloop *loop; /* BIRDloop running this protocol */ list channels; /* List of channels to rtables (struct channel) */ |