Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-1-5]: src/sys/netinet6 pullup (approved by releng-1-5)
details: https://anonhg.NetBSD.org/src/rev/a033edbb5a65
branches: netbsd-1-5
changeset: 489575:a033edbb5a65
user: itojun <itojun%NetBSD.org@localhost>
date: Fri Sep 29 06:29:54 2000 +0000
description:
pullup (approved by releng-1-5)
do not try to look up port number on forwarding case.
sys/netinet6/ip6_forward.c 1.16 -> 1.17
diffstat:
sys/netinet6/ip6_forward.c | 7 ++++---
1 files changed, 4 insertions(+), 3 deletions(-)
diffs (21 lines):
diff -r fa17267f2ffa -r a033edbb5a65 sys/netinet6/ip6_forward.c
--- a/sys/netinet6/ip6_forward.c Fri Sep 29 06:29:00 2000 +0000
+++ b/sys/netinet6/ip6_forward.c Fri Sep 29 06:29:54 2000 +0000
@@ -1,5 +1,5 @@
-/* $NetBSD: ip6_forward.c,v 1.12.2.3 2000/07/28 02:31:25 itojun Exp $ */
-/* $KAME: ip6_forward.c,v 1.44 2000/07/27 13:43:21 itojun Exp $ */
+/* $NetBSD: ip6_forward.c,v 1.12.2.4 2000/09/29 06:29:54 itojun Exp $ */
+/* $KAME: ip6_forward.c,v 1.56 2000/09/22 04:01:37 itojun Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -158,7 +158,8 @@
#ifdef IPSEC
/* get a security policy for this packet */
- sp = ipsec6_getpolicybyaddr(m, IPSEC_DIR_OUTBOUND, 0, &error);
+ sp = ipsec6_getpolicybyaddr(m, IPSEC_DIR_OUTBOUND, IP_FORWARDING,
+ &error);
if (sp == NULL) {
ipsec6stat.out_inval++;
ip6stat.ip6s_cantforward++;
Home |
Main Index |
Thread Index |
Old Index