summaryrefslogtreecommitdiff
path: root/sys/net/pfkeyv2.h
diff options
context:
space:
mode:
Diffstat (limited to 'sys/net/pfkeyv2.h')
-rw-r--r--sys/net/pfkeyv2.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index f9415e33752..7677e8d4a29 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -286,8 +286,8 @@ struct sadb_cred {
#define PFKEYV2_SENDMESSAGE_BROADCAST 3
#define SADB_CREDTYPE_NONE 0
-#define SADB_CREDTYPE_X509 1
-#define SADB_CREDTYPE_KEYNOTE 2
+#define SADB_CREDTYPE_X509 1 /* ASN1 encoding of the certificate */
+#define SADB_CREDTYPE_KEYNOTE 2 /* NUL-terminated buffer */
#define SADB_CREDTYPE_MAX 3
#define PFKEYV2_AUTH_LOCAL 0