Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ipsec-tools/src/racoon fix typo. (does not affec...
details: https://anonhg.NetBSD.org/src/rev/6318debd9984
branches: trunk
changeset: 357394:6318debd9984
user: knakahara <knakahara%NetBSD.org@localhost>
date: Thu Nov 09 08:34:50 2017 +0000
description:
fix typo. (does not affect actual operation, but confuses reader...)
The function is called when racoon receives SADB_X_MIGRATE pfkey message,
however the message is not used now. It was compatible code for KAME.
diffstat:
crypto/dist/ipsec-tools/src/racoon/pfkey.c | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
diffs (24 lines):
diff -r 9f4a4858562c -r 6318debd9984 crypto/dist/ipsec-tools/src/racoon/pfkey.c
--- a/crypto/dist/ipsec-tools/src/racoon/pfkey.c Thu Nov 09 05:57:23 2017 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/pfkey.c Thu Nov 09 08:34:50 2017 +0000
@@ -1,6 +1,6 @@
-/* $NetBSD: pfkey.c,v 1.59 2012/11/29 15:31:25 vanhu Exp $ */
-
-/* $Id: pfkey.c,v 1.59 2012/11/29 15:31:25 vanhu Exp $ */
+/* $NetBSD: pfkey.c,v 1.60 2017/11/09 08:34:50 knakahara Exp $ */
+
+/* $Id: pfkey.c,v 1.60 2017/11/09 08:34:50 knakahara Exp $ */
/*
* Copyright (C) 1995, 1996, 1997, and 1998 WIDE Project.
@@ -3177,8 +3177,8 @@
/* Then, verify reqid if necessary */
if (isr_cur->saidx.reqid &&
- (xisr_old->sadb_x_ipsecrequest_reqid != IPSEC_LEVEL_UNIQUE ||
- xisr_new->sadb_x_ipsecrequest_reqid != IPSEC_LEVEL_UNIQUE ||
+ (xisr_old->sadb_x_ipsecrequest_level != IPSEC_LEVEL_UNIQUE ||
+ xisr_new->sadb_x_ipsecrequest_level != IPSEC_LEVEL_UNIQUE ||
isr_cur->saidx.reqid != xisr_old->sadb_x_ipsecrequest_reqid ||
isr_cur->saidx.reqid != xisr_new->sadb_x_ipsecrequest_reqid))
return -1;
Home |
Main Index |
Thread Index |
Old Index