diff options
author | Martin Mares <mj@ucw.cz> | 1999-01-10 00:26:11 +0000 |
---|---|---|
committer | Martin Mares <mj@ucw.cz> | 1999-01-10 00:26:11 +0000 |
commit | 18fff6a1979725c1ed839d9a10285e22dc0b8214 (patch) | |
tree | a139d5663761b52a728093a05e2ce60a56bfade3 /nest | |
parent | b296730cb6b72ff84ba04fa58a6c7198f3a831e0 (diff) |
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 cb9b8440..cb3113fd 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 |