3baa830
diff -up dhcp-4.1.1/common/dispatch.c.dracut dhcp-4.1.1/common/dispatch.c
3baa830
--- dhcp-4.1.1/common/dispatch.c.dracut	2009-07-25 00:04:52.000000000 +0200
3baa830
+++ dhcp-4.1.1/common/dispatch.c	2010-01-20 17:37:18.000000000 +0100
8e27cd3
@@ -104,6 +104,10 @@ void add_timeout (when, where, what, ref
8e27cd3
 {
8e27cd3
 	struct timeout *t, *q;
8e27cd3
 
8e27cd3
+	if (when == NULL) {
8e27cd3
+		return;
8e27cd3
+	}
8e27cd3
+
8e27cd3
 	/* See if this timeout supersedes an existing timeout. */
8e27cd3
 	t = (struct timeout *)0;
8e27cd3
 	for (q = timeouts; q; q = q -> next) {