From 7a107b9766d6cb62c5028b493be98200024f3d14 Mon Sep 17 00:00:00 2001 From: Christian Weisgerber Date: Mon, 12 Jun 2006 19:17:52 +0000 Subject: Fix a typo that prevented ipsecctl -ss from showing authentication information for AH SAs. ok markus@, hshoexer@ --- sbin/ipsecctl/pfkdump.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'sbin/ipsecctl') diff --git a/sbin/ipsecctl/pfkdump.c b/sbin/ipsecctl/pfkdump.c index f4e3f92e6fb..b067c411582 100644 --- a/sbin/ipsecctl/pfkdump.c +++ b/sbin/ipsecctl/pfkdump.c @@ -1,4 +1,4 @@ -/* $OpenBSD: pfkdump.c,v 1.18 2006/06/02 12:29:43 markus Exp $ */ +/* $OpenBSD: pfkdump.c,v 1.19 2006/06/12 19:17:51 naddy Exp $ */ /* * Copyright (c) 2003 Markus Friedl. All rights reserved. @@ -647,7 +647,7 @@ pfkey_print_sa(struct sadb_msg *msg, int opts) bzero(&authkey, sizeof authkey); parse_key(extensions[SADB_EXT_KEY_AUTH], &authkey); r.authkey = &authkey; - } else if (sa->sadb_sa_encrypt || sa->sadb_sa_encrypt) { + } else if (sa->sadb_sa_encrypt || sa->sadb_sa_auth) { bzero(&xfs, sizeof xfs); r.xfs = &xfs; if (sa->sadb_sa_encrypt) { -- cgit v1.2.3