[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.36.10.1 and 1.37.2.1

version 1.36.10.1, 1997/10/14 10:29:34 version 1.37.2.1, 1997/11/18 01:04:22
Line 209  rip_output(m, va_alist)
Line 209  rip_output(m, va_alist)
                         return (EMSGSIZE);                          return (EMSGSIZE);
                 }                  }
                 ip = mtod(m, struct ip *);                  ip = mtod(m, struct ip *);
                   if (m->m_pkthdr.len != ip->ip_len) {
                           m_freem(m);
                           return (EINVAL);
                   }
                 if (ip->ip_id == 0)                  if (ip->ip_id == 0)
                         ip->ip_id = htons(ip_id++);                          ip->ip_id = htons(ip_id++);
                 opts = NULL;                  opts = NULL;

Legend:
Removed from v.1.36.10.1  
changed lines
  Added in v.1.37.2.1

CVSweb <webmaster@jp.NetBSD.org>