Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/crypto/dist/ipsec-tools/src/libipsec Add parser sadb_x_polic...
details: https://anonhg.NetBSD.org/src/rev/aee411f8d224
branches: trunk
changeset: 371794:aee411f8d224
user: knakahara <knakahara%NetBSD.org@localhost>
date: Tue Oct 11 09:54:15 2022 +0000
description:
Add parser sadb_x_policy_flags to libipsec/key_debug.
diffstat:
crypto/dist/ipsec-tools/src/libipsec/key_debug.c | 8 ++++----
1 files changed, 4 insertions(+), 4 deletions(-)
diffs (24 lines):
diff -r 75db211d7ff7 -r aee411f8d224 crypto/dist/ipsec-tools/src/libipsec/key_debug.c
--- a/crypto/dist/ipsec-tools/src/libipsec/key_debug.c Tue Oct 11 09:52:49 2022 +0000
+++ b/crypto/dist/ipsec-tools/src/libipsec/key_debug.c Tue Oct 11 09:54:15 2022 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: key_debug.c,v 1.16 2021/09/06 17:19:52 rillig Exp $ */
+/* $NetBSD: key_debug.c,v 1.17 2022/10/11 09:54:15 knakahara Exp $ */
/* $KAME: key_debug.c,v 1.29 2001/08/16 14:25:41 itojun Exp $ */
@@ -453,11 +453,11 @@
panic("kdebug_sadb_x_policy: NULL pointer was passed.\n");
#ifdef HAVE_PFKEY_POLICY_PRIORITY
- printf("sadb_x_policy{ type=%u dir=%u id=%x priority=%u }\n",
+ printf("sadb_x_policy{ type=%u dir=%u flags=0x%02x id=%x priority=%u }\n",
#else
- printf("sadb_x_policy{ type=%u dir=%u id=%x }\n",
+ printf("sadb_x_policy{ type=%u dir=%u flags=0x%02x id=%x }\n",
#endif
- xpl->sadb_x_policy_type, xpl->sadb_x_policy_dir,
+ xpl->sadb_x_policy_type, xpl->sadb_x_policy_dir, xpl->sadb_x_policy_flags,
#ifdef HAVE_PFKEY_POLICY_PRIORITY
xpl->sadb_x_policy_id, xpl->sadb_x_policy_priority);
#else
Home |
Main Index |
Thread Index |
Old Index