summaryrefslogtreecommitdiff
path: root/sbin/ipsecctl
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@cvs.openbsd.org>2006-06-12 19:17:52 +0000
committerChristian Weisgerber <naddy@cvs.openbsd.org>2006-06-12 19:17:52 +0000
commit7a107b9766d6cb62c5028b493be98200024f3d14 (patch)
tree0a60a2524f4e5552143caaf3ebf4e1ac087744d3 /sbin/ipsecctl
parent4170fe7c72c8945f354069bb969f919f0b6459ae (diff)
Fix a typo that prevented ipsecctl -ss from showing authentication
information for AH SAs. ok markus@, hshoexer@
Diffstat (limited to 'sbin/ipsecctl')
-rw-r--r--sbin/ipsecctl/pfkdump.c4
1 files changed, 2 insertions, 2 deletions
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) {