NetBSD Problem Report #46005
From www@NetBSD.org Sun Feb 12 11:59:10 2012
Return-Path: <www@NetBSD.org>
Received: from mail.netbsd.org (mail.netbsd.org [149.20.53.66])
by www.NetBSD.org (Postfix) with ESMTP id F38BF63E028
for <gnats-bugs@gnats.NetBSD.org>; Sun, 12 Feb 2012 11:59:09 +0000 (UTC)
Message-Id: <20120212115909.6DEE363B86B@www.NetBSD.org>
Date: Sun, 12 Feb 2012 11:59:09 +0000 (UTC)
From: henning.petersen@t-online.de
Reply-To: henning.petersen@t-online.de
To: gnats-bugs@NetBSD.org
Subject: Use the correct constant.
X-Send-Pr-Version: www-1.0
>Number: 46005
>Category: lib
>Synopsis: Use the correct constant.
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: lib-bug-people
>State: closed
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Sun Feb 12 12:00:01 +0000 2012
>Closed-Date: Mon Feb 13 13:06:04 +0000 2012
>Last-Modified: Mon Feb 13 13:20:05 +0000 2012
>Originator: Henning Petersen
>Release: NetBSD-current
>Organization:
>Environment:
>Description:
Use the correct constant.
From FreeBSD.
>How-To-Repeat:
>Fix:
diff -u -p -r1.23 pfkey.c
--- crypto/dist/ipsec-tools/src/libipsec/pfkey.c 9 Jan 2012 15:25:13 -0000 1.23
+++ crypto/dist/ipsec-tools/src/libipsec/pfkey.c 11 Feb 2012 11:58:53 -0000
@@ -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++) {
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->closed
State-Changed-By: wiz@NetBSD.org
State-Changed-When: Mon, 13 Feb 2012 13:06:04 +0000
State-Changed-Why:
committed, thanks!
From: "Thomas Klausner" <wiz@netbsd.org>
To: gnats-bugs@gnats.NetBSD.org
Cc:
Subject: PR/46005 CVS commit: src/crypto/dist/ipsec-tools/src/libipsec
Date: Mon, 13 Feb 2012 13:03:07 +0000
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.
>Unformatted:
(Contact us)
$NetBSD: query-full-pr,v 1.39 2013/11/01 18:47:49 spz Exp $
$NetBSD: gnats_config.sh,v 1.8 2006/05/07 09:23:38 tsutsui Exp $
Copyright © 1994-2007
The NetBSD Foundation, Inc. ALL RIGHTS RESERVED.