summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-30 16:44:12 +0000
committerAngelos D. Keromytis <angelos@cvs.openbsd.org>2001-05-30 16:44:12 +0000
commit1dd61bf87786bf3a0fbf585aed234673d3fa781b (patch)
treeacd86619e7011ae6ebb8a21fbbc8f0fb9062e03b /sys
parentb13c453f77e83f352f9c98f3c38b0d8b4f191733 (diff)
MBOX->USERFQDN, noticed by markus@
Diffstat (limited to 'sys')
-rw-r--r--sys/net/pfkeyv2.c10
-rw-r--r--sys/net/pfkeyv2.h2
2 files changed, 6 insertions, 6 deletions
diff --git a/sys/net/pfkeyv2.c b/sys/net/pfkeyv2.c
index 47710ab9ef3..7cae9ea92a9 100644
--- a/sys/net/pfkeyv2.c
+++ b/sys/net/pfkeyv2.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: pfkeyv2.c,v 1.61 2001/05/30 11:27:33 angelos Exp $ */
+/* $OpenBSD: pfkeyv2.c,v 1.62 2001/05/30 16:44:11 angelos Exp $ */
/*
%%% copyright-nrl-97
This software is Copyright 1997-1998 by Randall Atkinson, Ronald Lee,
@@ -591,8 +591,8 @@ import_identity(struct tdb *tdb, struct sadb_ident *sadb_ident, int type)
case SADB_IDENTTYPE_FQDN:
(*ipr)->ref_type = IPSP_IDENTITY_FQDN;
break;
- case SADB_IDENTTYPE_MBOX:
- (*ipr)->ref_type = IPSP_IDENTITY_MBOX;
+ case SADB_IDENTTYPE_USERFQDN:
+ (*ipr)->ref_type = IPSP_IDENTITY_USERFQDN;
break;
case SADB_IDENTTYPE_CONNECTION:
(*ipr)->ref_type = IPSP_IDENTITY_CONNECTION;
@@ -685,8 +685,8 @@ export_identity(void **p, struct tdb *tdb, int type)
case IPSP_IDENTITY_FQDN:
sadb_ident->sadb_ident_type = SADB_IDENTTYPE_FQDN;
break;
- case IPSP_IDENTITY_MBOX:
- sadb_ident->sadb_ident_type = SADB_IDENTTYPE_MBOX;
+ case IPSP_IDENTITY_USERFQDN:
+ sadb_ident->sadb_ident_type = SADB_IDENTTYPE_USERFQDN;
break;
case IPSP_IDENTITY_CONNECTION:
sadb_ident->sadb_ident_type = SADB_IDENTTYPE_CONNECTION;
diff --git a/sys/net/pfkeyv2.h b/sys/net/pfkeyv2.h
index eaa32e90878..f9415e33752 100644
--- a/sys/net/pfkeyv2.h
+++ b/sys/net/pfkeyv2.h
@@ -262,7 +262,7 @@ struct sadb_cred {
#define SADB_IDENTTYPE_RESERVED 0
#define SADB_IDENTTYPE_PREFIX 1
#define SADB_IDENTTYPE_FQDN 2
-#define SADB_IDENTTYPE_MBOX 3
+#define SADB_IDENTTYPE_USERFQDN 3
#define SADB_IDENTTYPE_CONNECTION 4
#define SADB_IDENTTYPE_MAX 4