mirror of
https://gitlab.nic.cz/labs/bird.git
synced 2025-03-11 17:08:46 +00:00
Initialize only protocols which are compiled in :)
This commit is contained in:
parent
b296730cb6
commit
18fff6a197
@ -118,7 +118,12 @@ protos_build(void)
|
||||
{
|
||||
init_list(&protocol_list);
|
||||
add_tail(&protocol_list, &proto_device.n);
|
||||
#ifdef CONFIG_RIP
|
||||
add_tail(&protocol_list, &proto_rip.n);
|
||||
#endif
|
||||
#ifdef CONFIG_STATIC
|
||||
add_tail(&protocol_list, &proto_static.n);
|
||||
#endif
|
||||
}
|
||||
|
||||
void
|
||||
|
Loading…
x
Reference in New Issue
Block a user