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/libipsec Use the correct constant.



details:   https://anonhg.NetBSD.org/src/rev/f35444a1ba0d
branches:  trunk
changeset: 773696:f35444a1ba0d
user:      wiz <wiz%NetBSD.org@localhost>
date:      Mon Feb 13 13:03:06 2012 +0000

description:
Use the correct constant.
>From FreeBSD via Henning Petersen in PR 46005.

diffstat:

 crypto/dist/ipsec-tools/src/libipsec/pfkey.c |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r b3a3ab2e1137 -r f35444a1ba0d crypto/dist/ipsec-tools/src/libipsec/pfkey.c
--- a/crypto/dist/ipsec-tools/src/libipsec/pfkey.c      Mon Feb 13 13:01:39 2012 +0000
+++ b/crypto/dist/ipsec-tools/src/libipsec/pfkey.c      Mon Feb 13 13:03:06 2012 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: pfkey.c,v 1.23 2012/01/09 15:25:13 drochner Exp $      */
+/*     $NetBSD: pfkey.c,v 1.24 2012/02/13 13:03:06 wiz Exp $   */
 
 /*     $KAME: pfkey.c,v 1.47 2003/10/02 19:52:12 itojun Exp $  */
 
@@ -710,7 +710,7 @@
 {
        int len, algno;
 
-       if (satype == PF_UNSPEC) {
+       if (satype == SADB_SATYPE_UNSPEC) {
                for (algno = 0;
                     algno < sizeof(supported_map)/sizeof(supported_map[0]);
                     algno++) {



Home | Main Index | Thread Index | Old Index