diff options
author | Martin Mares <mj@ucw.cz> | 1999-01-10 01:26:11 +0100 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-01-10 01:26:11 +0100 |
commit | 18fff6a1979725c1ed839d9a10285e22dc0b8214 (patch) | |
tree | a139d5663761b52a728093a05e2ce60a56bfade3 /nest | |
parent | b296730cb6b72ff84ba04fa58a6c7198f3a831e0 (diff) | |
download | bird-18fff6a1979725c1ed839d9a10285e22dc0b8214.tar bird-18fff6a1979725c1ed839d9a10285e22dc0b8214.zip |
Initialize only protocols which are compiled in :)
Diffstat (limited to 'nest')
-rw-r--r-- | nest/proto.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/nest/proto.c b/nest/proto.c index cb9b844..cb3113f 100644 --- a/nest/proto.c +++ b/nest/proto.c @@ -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 |