Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v rcsdiff: /ftp/cvs/cvsroot/src/sys/netinet/ip_input.c,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.174 retrieving revision 1.175 diff -u -p -r1.174 -r1.175 --- src/sys/netinet/ip_input.c 2003/08/22 21:53:03 1.174 +++ src/sys/netinet/ip_input.c 2003/08/22 22:00:37 1.175 @@ -1,4 +1,4 @@ -/* $NetBSD: ip_input.c,v 1.174 2003/08/22 21:53:03 itojun Exp $ */ +/* $NetBSD: ip_input.c,v 1.175 2003/08/22 22:00:37 itojun Exp $ */ /* * Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project. @@ -98,7 +98,7 @@ */ #include -__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.174 2003/08/22 21:53:03 itojun Exp $"); +__KERNEL_RCSID(0, "$NetBSD: ip_input.c,v 1.175 2003/08/22 22:00:37 itojun Exp $"); #include "opt_gateway.h" #include "opt_pfil_hooks.h" @@ -1736,10 +1736,6 @@ ip_forward(m, srcrt) } } -#ifdef IPSEC - /* Don't lookup socket in forwarding case */ - (void)ipsec_setsocket(m, NULL); -#endif error = ip_output(m, (struct mbuf *)0, &ipforward_rt, (IP_FORWARDING | (ip_directedbcast ? IP_ALLOWBROADCAST : 0)), (struct ip_moptions *)NULL, (struct socket *)NULL);