[BACK]Return to raw_ip.c CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / src / sys / netinet

Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.

Diff for /src/sys/netinet/raw_ip.c between version 1.87.2.6 and 1.87.2.7

version 1.87.2.6, 2007/12/07 17:34:32 version 1.87.2.7, 2008/01/21 09:47:17
Line 358  rip_output(struct mbuf *m, ...)
Line 358  rip_output(struct mbuf *m, ...)
                 }                  }
                 HTONS(ip->ip_len);                  HTONS(ip->ip_len);
                 HTONS(ip->ip_off);                  HTONS(ip->ip_off);
                 if (ip->ip_id == 0)                  if (ip->ip_id == 0 && m->m_pkthdr.len >= IP_MINFRAGSIZE)
                         ip->ip_id = ip_newid();                          ip->ip_id = ip_newid();
                 opts = NULL;                  opts = NULL;
                 /* XXX prevent ip_output from overwriting header fields */                  /* XXX prevent ip_output from overwriting header fields */

Legend:
Removed from v.1.87.2.6  
changed lines
  Added in v.1.87.2.7

CVSweb <webmaster@jp.NetBSD.org>