From fb5452910f0310162092bbf0d7caefe7c7cc61d7 Mon Sep 17 00:00:00 2001 From: likewise Date: Thu, 22 Jul 2004 22:10:17 +0000 Subject: [PATCH] I hate it when it takes twice to fix a typo --- src/core/dhcp.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/core/dhcp.c b/src/core/dhcp.c index e2f1bc4a..6605fd38 100644 --- a/src/core/dhcp.c +++ b/src/core/dhcp.c @@ -932,9 +932,9 @@ static err_t dhcp_release(struct netif *netif) /* idle DHCP client */ dhcp_set_state(dhcp, DHCP_OFF); /* clean old DHCP offer */ - dhcp->server_ip_addr = 0; - dhcp->offered_ip_addr = dhcp->offered_sn_mask = 0; - dhcp->offered_gw_addr = dhcp->offered_bc_addr = 0; + dhcp->server_ip_addr.addr = 0; + dhcp->offered_ip_addr.addr = dhcp->offered_sn_mask.addr = 0; + dhcp->offered_gw_addr.addr = dhcp->offered_bc_addr.addr = 0; dhcp->offered_t0_lease = dhcp->offered_t1_renew = dhcp->offered_t2_rebind = 0; dhcp->dns_count = 0;