*** empty log message ***
authorMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 25 Dec 2007 06:02:05 +0000 (06:02 +0000)
committerMatthew Mondor <mmondor@pulsar-zone.net>
Tue, 25 Dec 2007 06:02:05 +0000 (06:02 +0000)
mmsoftware/tap-bridge/tap-bridge.c

index 830f82a..4a74301 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: tap-bridge.c,v 1.3 2007/12/24 03:16:21 mmondor Exp $ */
+/* $Id: tap-bridge.c,v 1.4 2007/12/25 06:02:05 mmondor Exp $ */
 
 /*
  * Copyright (C) 2007, Matthew Mondor
@@ -745,7 +745,7 @@ child_main(void)
                if ((schedule_now || revents) && errno != EHOSTDOWN)
                        continue;
 
-               while (!revents)
+               while (!revents && !schedule_now && !child_exit)
                        (void) sigsuspend(&set);
        }