Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 15 Feb 2012 09:32:51 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bz@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-7@freebsd.org
Subject:   svn commit: r231748 - stable/7/lib/libipsec
Message-ID:  <201202150932.q1F9WpVW047359@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bz
Date: Wed Feb 15 09:32:51 2012
New Revision: 231748
URL: http://svn.freebsd.org/changeset/base/231748

Log:
  MFC r231515:
  
   Use the correct constant (with same value) for comparying the SA type.
  
  PR:		kern/142741
  Submitted by:	Matthijs Kooiman (matthijs stdin.nl)

Modified:
  stable/7/lib/libipsec/pfkey.c
Directory Properties:
  stable/7/lib/libipsec/   (props changed)

Modified: stable/7/lib/libipsec/pfkey.c
==============================================================================
--- stable/7/lib/libipsec/pfkey.c	Wed Feb 15 09:32:40 2012	(r231747)
+++ stable/7/lib/libipsec/pfkey.c	Wed Feb 15 09:32:51 2012	(r231748)
@@ -662,7 +662,7 @@ pfkey_send_register(so, 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++) {



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201202150932.q1F9WpVW047359>