[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.46 and 1.46.8.1

version 1.46, 1999/09/13 12:15:55 version 1.46.8.1, 1999/12/27 18:36:19
Line 207  rip_input(m, va_alist)
Line 207  rip_input(m, va_alist)
                         sorwakeup(last->inp_socket);                          sorwakeup(last->inp_socket);
         } else {          } else {
                 if (inetsw[ip_protox[ip->ip_p]].pr_input == rip_input) {                  if (inetsw[ip_protox[ip->ip_p]].pr_input == rip_input) {
                         icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL,0,0);                          icmp_error(m, ICMP_UNREACH, ICMP_UNREACH_PROTOCOL,
                               0, 0);
                         ipstat.ips_noproto++;                          ipstat.ips_noproto++;
                         ipstat.ips_delivered--;                          ipstat.ips_delivered--;
                 } else                  } else
Line 463  rip_usrreq(so, req, m, nam, control, p)
Line 464  rip_usrreq(so, req, m, nam, control, p)
                 inp = sotoinpcb(so);                  inp = sotoinpcb(so);
                 inp->inp_ip.ip_p = (long)nam;                  inp->inp_ip.ip_p = (long)nam;
 #ifdef IPSEC  #ifdef IPSEC
                 if ((error = ipsec_init_policy(&inp->inp_sp)) != 0)                  error = ipsec_init_policy(&inp->inp_sp);
                   if (error != 0) {
                         in_pcbdetach(inp);                          in_pcbdetach(inp);
                           break;
                   }
 #endif /*IPSEC*/  #endif /*IPSEC*/
                 break;                  break;
   

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.46.8.1

CVSweb <webmaster@jp.NetBSD.org>