/[lwip]/lwip/src/core/dhcp.c
ViewVC logotype

Diff of /lwip/src/core/dhcp.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1.7 by likewise, Mon Dec 2 13:11:04 2002 UTC revision 1.8 by jani, Wed Dec 18 10:40:01 2002 UTC
# Line 508  struct dhcp_state *dhcp_start(struct net Line 508  struct dhcp_state *dhcp_start(struct net
508                  DEBUGF(DHCP_DEBUG, ("dhcp_start(): could not allocate dhcp_state"));                  DEBUGF(DHCP_DEBUG, ("dhcp_start(): could not allocate dhcp_state"));
509                  return NULL;                  return NULL;
510          }          }
511          bzero(state, sizeof(struct dhcp_state));          memset(state, 0, sizeof(struct dhcp_state));
512    
513          DEBUGF(DHCP_DEBUG, ("dhcp_start(): allocated dhcp_state"));          DEBUGF(DHCP_DEBUG, ("dhcp_start(): allocated dhcp_state"));
514          state->pcb = udp_new();          state->pcb = udp_new();
# Line 557  void dhcp_inform(struct netif *netif) Line 557  void dhcp_inform(struct netif *netif)
557                  DEBUGF(DHCP_DEBUG, ("dhcp_inform(): could not allocate dhcp_state"));                  DEBUGF(DHCP_DEBUG, ("dhcp_inform(): could not allocate dhcp_state"));
558                  return;                  return;
559          }            }  
560          bzero(state, sizeof(struct dhcp_state));          memset(state, 0, sizeof(struct dhcp_state));
561    
562          DEBUGF(DHCP_DEBUG, ("dhcp_inform(): allocated dhcp_state"));          DEBUGF(DHCP_DEBUG, ("dhcp_inform(): allocated dhcp_state"));
563          state->pcb = udp_new();          state->pcb = udp_new();

Legend:
Removed from v.1.7  
changed lines
  Added in v.1.8

savannah-hackers-public@gnu.org
ViewVC Help
Powered by ViewVC 1.1.26