1
0
mirror of https://gitlab.labs.nic.cz/labs/bird.git synced 2024-05-11 16:54:54 +00:00

Protocol: Introducing an enum protocol_class

This supersedes the EAP_* constants.
This commit is contained in:
Jan Maria Matejka
2018-05-07 14:47:00 +02:00
parent c3becfe193
commit ee7e2ffd26
27 changed files with 115 additions and 106 deletions

View File

@@ -75,8 +75,8 @@ bt_bird_init(void)
void bt_bird_cleanup(void)
{
for (int i = 0; i < EAP_MAX; i++)
attr_class_to_protocol[i] = NULL;
for (int i = 0; i < PROTOCOL__MAX; i++)
class_to_protocol[i] = NULL;
config = new_config = NULL;
}