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

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

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

revision 1.11.2.2 by likewise, Wed Jun 4 10:30:00 2003 UTC revision 1.11.2.3 by likewise, Wed Jun 4 17:15:22 2003 UTC
# Line 73  icmp_input(struct pbuf *p, struct netif Line 73  icmp_input(struct pbuf *p, struct netif
73    }    }
74    
75    type = *((u8_t *)p->payload);    type = *((u8_t *)p->payload);
76      code = *(((u8_t *)p->payload)+1);
77    switch (type) {    switch (type) {
78    case ICMP_ECHO:    case ICMP_ECHO:
79      if (ip_addr_isbroadcast(&iphdr->dest, &inp->netmask) ||      if (ip_addr_isbroadcast(&iphdr->dest, &inp->netmask) ||

Legend:
Removed from v.1.11.2.2  
changed lines
  Added in v.1.11.2.3

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