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