[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.42.6.2 and 1.42.6.3

version 1.42.6.2, 1999/07/06 11:02:47 version 1.42.6.3, 1999/11/30 13:35:34
Line 64 
Line 64 
  *      @(#)raw_ip.c    8.7 (Berkeley) 5/15/95   *      @(#)raw_ip.c    8.7 (Berkeley) 5/15/95
  */   */
   
   #include "opt_ipsec.h"
 #include "opt_mrouting.h"  #include "opt_mrouting.h"
   
 #include <sys/param.h>  #include <sys/param.h>
Line 456  rip_usrreq(so, req, m, nam, control, p)
Line 457  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
                 error = ipsec_init_policy(&inp->inp_sp);                  error = ipsec_init_policy(so, &inp->inp_sp);
                   if (error != 0) {
                           in_pcbdetach(inp);
                           break;
                   }
 #endif /*IPSEC*/  #endif /*IPSEC*/
                 break;                  break;
   

Legend:
Removed from v.1.42.6.2  
changed lines
  Added in v.1.42.6.3

CVSweb <webmaster@jp.NetBSD.org>