/[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.21 by likewise, Thu Mar 11 21:20:10 2004 UTC revision 1.22 by likewise, Thu Nov 25 13:52:34 2004 UTC
# Line 74  icmp_input(struct pbuf *p, struct netif Line 74  icmp_input(struct pbuf *p, struct netif
74    case ICMP_ECHO:    case ICMP_ECHO:
75      /* broadcast or multicast destination address? */      /* broadcast or multicast destination address? */
76      if (ip_addr_isbroadcast(&iphdr->dest, inp) || ip_addr_ismulticast(&iphdr->dest)) {      if (ip_addr_isbroadcast(&iphdr->dest, inp) || ip_addr_ismulticast(&iphdr->dest)) {
77        LWIP_DEBUGF(ICMP_DEBUG, ("Smurf.\n"));        LWIP_DEBUGF(ICMP_DEBUG, ("icmp_input: Not echoing to multicast or broadcast pings\n"));
78        ICMP_STATS_INC(icmp.err);        ICMP_STATS_INC(icmp.err);
79        pbuf_free(p);        pbuf_free(p);
80        return;        return;

Legend:
Removed from v.1.21  
changed lines
  Added in v.1.22

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