]>
Commit | Line | Data |
---|---|---|
c1e9ba67 MF |
1 | diff -up dhcp-4.3.0a1/common/dispatch.c.dracut dhcp-4.3.0a1/common/dispatch.c |
2 | --- dhcp-4.3.0a1/common/dispatch.c.dracut 2013-12-11 01:25:12.000000000 +0100 | |
3 | +++ dhcp-4.3.0a1/common/dispatch.c 2013-12-19 15:39:50.350505860 +0100 | |
4 | @@ -210,6 +210,10 @@ void add_timeout (when, where, what, ref | |
5 | isc_interval_t interval; | |
6 | isc_time_t expires; | |
7 | ||
8 | + if (when == NULL) { | |
9 | + return; | |
10 | + } | |
11 | + | |
12 | /* See if this timeout supersedes an existing timeout. */ | |
13 | t = (struct timeout *)0; | |
14 | for (q = timeouts; q; q = q->next) { |