From 9fc69cd99026dc35cc62ad524193fa0dfd4de20f Mon Sep 17 00:00:00 2001 From: Shampavman Date: Tue, 29 Nov 2011 10:32:13 +0530 Subject: 732 iSCSI IQNs should use org.illumos instead of com.sun Reviewed by: Garrett D'Amore Reviewed by: Richard Elling Reviewed by: Robert Mustacchi Approved by: Richard Lowe --- usr/src/lib/libiscsit/common/libiscsit.h | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'usr/src/lib/libiscsit/common/libiscsit.h') diff --git a/usr/src/lib/libiscsit/common/libiscsit.h b/usr/src/lib/libiscsit/common/libiscsit.h index 861529e86f..704c790edc 100644 --- a/usr/src/lib/libiscsit/common/libiscsit.h +++ b/usr/src/lib/libiscsit/common/libiscsit.h @@ -22,6 +22,9 @@ * Copyright 2009 Sun Microsystems, Inc. All rights reserved. * Use is subject to license terms. */ +/* + * Copyright 2011 Nexenta Systems, Inc. All rights reserved. + */ #ifndef _LIBISCSIT_H #define _LIBISCSIT_H @@ -44,6 +47,13 @@ extern "C" { #define IS_IQN_NAME(s) (strncmp((s), "iqn.", 4) == 0) #define IS_EUI_NAME(s) (strncmp((s), "eui.", 4) == 0) +/* + * We change the default IQN here to org.illumos. + * Other distros using it need to change accordingly. + */ + +#define DEFAULT_IQN "iqn.2010-08.org.illumos:" + /* * Object Hierarchy * -- cgit v1.2.3