Module Name: src Committed By: wiz Date: Mon Feb 13 13:03:06 UTC 2012
Modified Files: src/crypto/dist/ipsec-tools/src/libipsec: pfkey.c Log Message: Use the correct constant. >From FreeBSD via Henning Petersen in PR 46005. To generate a diff of this commit: cvs rdiff -u -r1.23 -r1.24 src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c diff -u src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c:1.23 src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c:1.24 --- src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c:1.23 Mon Jan 9 15:25:13 2012 +++ src/crypto/dist/ipsec-tools/src/libipsec/pfkey.c Mon Feb 13 13:03:06 2012 @@ -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 @@ pfkey_send_register(int so, u_int satype { int len, algno; - if (satype == PF_UNSPEC) { + if (satype == SADB_SATYPE_UNSPEC) { for (algno = 0; algno < sizeof(supported_map)/sizeof(supported_map[0]); algno++) {