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 fixed address check in rm...
details: https://anonhg.NetBSD.org/src/rev/18065ddcd36e
branches: trunk
changeset: 746755:18065ddcd36e
user: vanhu <vanhu%NetBSD.org@localhost>
date: Wed Aug 19 13:54:07 2009 +0000
description:
fixed address check in rmconf_match_type(), just check address with wildcard port
diffstat:
crypto/dist/ipsec-tools/src/racoon/remoteconf.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 0fb5b26cc9c8 -r 18065ddcd36e crypto/dist/ipsec-tools/src/racoon/remoteconf.c
--- a/crypto/dist/ipsec-tools/src/racoon/remoteconf.c Wed Aug 19 13:38:26 2009 +0000
+++ b/crypto/dist/ipsec-tools/src/racoon/remoteconf.c Wed Aug 19 13:54:07 2009 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: remoteconf.c,v 1.16 2009/08/19 12:20:02 tteras Exp $ */
+/* $NetBSD: remoteconf.c,v 1.17 2009/08/19 13:54:07 vanhu Exp $ */
/* Id: remoteconf.c,v 1.38 2006/05/06 15:52:44 manubsd Exp */
@@ -209,7 +209,7 @@
/* Check address */
if (rmsel->remote != NULL) {
if (rmconf->remote->sa_family != AF_UNSPEC) {
- if (cmpsaddr(rmsel->remote, rmconf->remote) != 0)
+ if (cmpsaddr(rmsel->remote, rmconf->remote) == CMPSADDR_MISMATCH)
return MATCH_NONE;
/* Address matched */
Home |
Main Index |
Thread Index |
Old Index