Skip to content

Commit babe604

Browse files
committed
[DHCPCSVC] Fix exception on service restart
CORE-14390
1 parent 87b8c1e commit babe604

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

base/services/dhcpcsvc/dhcp/dhclient.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1075,7 +1075,7 @@ state_panic(void *ipp)
10751075

10761076
note("No DHCPOFFERS received.");
10771077

1078-
if (!Adapter->NteContext)
1078+
if (Adapter && !Adapter->NteContext)
10791079
{
10801080
/* Generate an automatic private address */
10811081
DbgPrint("DHCPCSVC: Failed to receive a response from a DHCP server. An automatic private address will be assigned.\n");

0 commit comments

Comments
 (0)