summaryrefslogtreecommitdiff
path: root/usr/src/lib/libtsnet/common/tsol_sgetzcent.c
diff options
context:
space:
mode:
authorkp158701 <none@none>2007-06-13 08:33:29 -0700
committerkp158701 <none@none>2007-06-13 08:33:29 -0700
commit7e6639c297bb2c00e0c6dc8a83143d2201c6b51b (patch)
tree83e0ffdae6a77a4dd1db2d3e787e7af7a247d219 /usr/src/lib/libtsnet/common/tsol_sgetzcent.c
parent717a41ebe41b39f353ba21c3eb3dbbe4c3ba8902 (diff)
downloadillumos-joyent-7e6639c297bb2c00e0c6dc8a83143d2201c6b51b.tar.gz
CR 6507344 TX zones should not hard code DOI to 1
Diffstat (limited to 'usr/src/lib/libtsnet/common/tsol_sgetzcent.c')
-rw-r--r--usr/src/lib/libtsnet/common/tsol_sgetzcent.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/usr/src/lib/libtsnet/common/tsol_sgetzcent.c b/usr/src/lib/libtsnet/common/tsol_sgetzcent.c
index 657c3be47c..cfbc70ba34 100644
--- a/usr/src/lib/libtsnet/common/tsol_sgetzcent.c
+++ b/usr/src/lib/libtsnet/common/tsol_sgetzcent.c
@@ -19,7 +19,7 @@
* CDDL HEADER END
*/
/*
- * Copyright 2006 Sun Microsystems, Inc. All rights reserved.
+ * Copyright 2007 Sun Microsystems, Inc. All rights reserved.
* Use is subject to license terms.
*
* From "tsol_tndb_parser.c 7.24 01/09/05 SMI; TSOL 2.x"
@@ -222,8 +222,8 @@ tsol_sgetzcent(const char *instr, int *errp, char **errstrp)
}
instr = nextf + 1;
- /* Not in the entry, but should be */
- zc->zc_doi = 1;
+ /* The kernel will apply the system doi to the zone label later */
+ zc->zc_doi = 0;
/* Field three: get match flag */
errno = 0;