5a3797
diff -up dhcp-4.2.0/common/dispatch.c.dracut dhcp-4.2.0/common/dispatch.c
5a3797
--- dhcp-4.2.0/common/dispatch.c.dracut	2010-06-01 19:29:59.000000000 +0200
5a3797
+++ dhcp-4.2.0/common/dispatch.c	2010-07-21 16:10:09.000000000 +0200
5a3797
@@ -189,6 +189,10 @@ void add_timeout (when, where, what, ref
5a3797
 	isc_interval_t interval;
5a3797
 	isc_time_t expires;
5a3797
 
5a3797
+	if (when == NULL) {
5a3797
+		return;
5a3797
+	}
5a3797
+
5a3797
 	/* See if this timeout supersedes an existing timeout. */
5a3797
 	t = (struct timeout *)0;
5a3797
 	for (q = timeouts; q; q = q->next) {