[BACK]Return to ip_input.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/ip_input.c between version 1.245.2.4 and 1.250.4.2

version 1.245.2.4, 2007/08/20 21:27:59 version 1.250.4.2, 2007/09/03 16:49:04
Line 2079  ip_savecontrol(struct inpcb *inp, struct
Line 2079  ip_savecontrol(struct inpcb *inp, struct
         if (inp->inp_flags & INP_RECVIF) {          if (inp->inp_flags & INP_RECVIF) {
                 struct sockaddr_dl sdl;                  struct sockaddr_dl sdl;
   
                 sockaddr_dl_init(&sdl, (m->m_pkthdr.rcvif != NULL) ?                  sockaddr_dl_init(&sdl, sizeof(sdl),
                     m->m_pkthdr.rcvif->if_index : 0, 0, NULL, 0, NULL, 0);                      (m->m_pkthdr.rcvif != NULL)
                           ?  m->m_pkthdr.rcvif->if_index
                           : 0,
                           0, NULL, 0, NULL, 0);
                 *mp = sbcreatecontrol(&sdl, sdl.sdl_len, IP_RECVIF, IPPROTO_IP);                  *mp = sbcreatecontrol(&sdl, sdl.sdl_len, IP_RECVIF, IPPROTO_IP);
                 if (*mp)                  if (*mp)
                         mp = &(*mp)->m_next;                          mp = &(*mp)->m_next;

Legend:
Removed from v.1.245.2.4  
changed lines
  Added in v.1.250.4.2

CVSweb <webmaster@jp.NetBSD.org>