summaryrefslogtreecommitdiff
path: root/sysdep
diff options
context:
space:
mode:
authorMartin Mares <mj@ucw.cz>1998-10-17 11:05:18 +0000
committerMartin Mares <mj@ucw.cz>1998-10-17 11:05:18 +0000
commit47b793064c25c8adcab48cacc018be1675f2448a (patch)
treec6924c3fb31bf8cd7d650ad8e6c52c395457eca9 /sysdep
parentd92882be9b1bfcc1a8e8a7bd552bdec4831694aa (diff)
Solve chicken-and-egg problems with protocol startup. We now queue all inactive
protocols and don't send route/interface updates to them and when they come up, we resend the whole route/interface tables privately. Removed the "scan interface list after protocol start" work-around.
Diffstat (limited to 'sysdep')
-rw-r--r--sysdep/unix/main.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdep/unix/main.c b/sysdep/unix/main.c
index ce3768c2..b57e94e5 100644
--- a/sysdep/unix/main.c
+++ b/sysdep/unix/main.c
@@ -82,10 +82,10 @@ main(void)
signal_init();
- protos_start();
-
scan_if_init();
+ protos_start();
+
handle_sigusr(0);
debug("Entering I/O loop.\n");