summaryrefslogtreecommitdiff
path: root/sysdep/unix/main.c
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-18 11:53:21 +0000
committerMartin Mares <mj@ucw.cz>1998-10-18 11:53:21 +0000
commit0432c0173bb4d234e8ba8e4afea0a8e708e119d8 (patch)
tree52a7c25de9102f8da2693f9daa9278b172086fb0 /sysdep/unix/main.c
parent05e56feb57b8e313a2328dbe82e2c2a70ff5115a (diff)
Split protocol init to building of protocol list and real protocol init.
Added kernel route table syncer skeleton.
Diffstat (limited to 'sysdep/unix/main.c')
-rw-r--r--sysdep/unix/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index b57e94e5..a6c47487 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -76,6 +76,8 @@ main(void)
io_init();
rt_init();
if_init();
+ protos_build();
+ add_tail(&protocol_list, &proto_unix_kernel.n); /* FIXME: Must be _always_ the last one */
protos_init();
protos_preconfig();
protos_postconfig();