/[lwip]/lwip/src/core/ipv4/ip.c
ViewVC logotype

Diff of /lwip/src/core/ipv4/ip.c

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

revision 1.19 by likewise, Tue Mar 25 12:59:42 2003 UTC revision 1.20 by likewise, Mon Mar 31 10:32:36 2003 UTC
# Line 321  ip_input(struct pbuf *p, struct netif *i Line 321  ip_input(struct pbuf *p, struct netif *i
321      /* remote port is DHCP server? */      /* remote port is DHCP server? */
322      if(IPH_PROTO(iphdr) == IP_PROTO_UDP) {      if(IPH_PROTO(iphdr) == IP_PROTO_UDP) {
323        DEBUGF(IP_DEBUG | DBG_TRACE | 1, ("ip_input: UDP packet to DHCP client port %u\n",        DEBUGF(IP_DEBUG | DBG_TRACE | 1, ("ip_input: UDP packet to DHCP client port %u\n",
324         ntohs(((struct udp_hdr *)((u8_t *)iphdr + iphdrlen))->dest)));          ntohs(((struct udp_hdr *)((u8_t *)iphdr + iphdrlen))->dest)));
325        if (ntohs(((struct udp_hdr *)((u8_t *)iphdr + iphdrlen))->dest) == DHCP_CLIENT_PORT) {        if (ntohs(((struct udp_hdr *)((u8_t *)iphdr + iphdrlen))->dest) == DHCP_CLIENT_PORT) {
326          DEBUGF(IP_DEBUG | DBG_TRACE | 1, ("ip_input: DHCP packet accepted.\n"));          DEBUGF(IP_DEBUG | DBG_TRACE | 1, ("ip_input: DHCP packet accepted.\n"));
327          netif = inp;          netif = inp;

Legend:
Removed from v.1.19  
changed lines
  Added in v.1.20

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