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

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

Diff for /src/sys/netinet6/udp6_usrreq.c between version 1.30 and 1.30.2.1

version 1.30, 2000/06/08 13:51:34 version 1.30.2.1, 2000/10/17 00:48:51
Line 528  udp6_ctlinput(cmd, sa, d)
Line 528  udp6_ctlinput(cmd, sa, d)
                 if (IN6_IS_ADDR_LINKLOCAL(&s))                  if (IN6_IS_ADDR_LINKLOCAL(&s))
                         s.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);                          s.s6_addr16[1] = htons(m->m_pkthdr.rcvif->if_index);
   
                   /* check if we can safely examine src and dst ports */
                   if (m->m_pkthdr.len < off + sizeof(uh))
                           return;
   
                 if (m->m_len < off + sizeof(uh)) {                  if (m->m_len < off + sizeof(uh)) {
                         /*                          /*
                          * this should be rare case,                           * this should be rare case,

Legend:
Removed from v.1.30  
changed lines
  Added in v.1.30.2.1

CVSweb <webmaster@jp.NetBSD.org>