diff options
author | zl149053 <none@none> | 2008-07-07 22:47:28 -0700 |
---|---|---|
committer | zl149053 <none@none> | 2008-07-07 22:47:28 -0700 |
commit | 3e55d14bd284a989ba645bc1558916a474881701 (patch) | |
tree | ceb10a9b0f8ef3a37765ee0bbe1443866df6d5dc /usr/src/lib/libiscsitgt/common/xml.c | |
parent | 0bdffa0f07e70f45f6810116ca9d547631a4c3f8 (diff) | |
download | illumos-gate-3e55d14bd284a989ba645bc1558916a474881701.tar.gz |
6718269 single target with dual luns does not work with VMWare ESX
6721787 iscsitgtd should use IEEE company id to compose guid
6722522 cannot correctly discover zvol iscsi targets with vmware esx iscsi initiator (2)
Diffstat (limited to 'usr/src/lib/libiscsitgt/common/xml.c')
-rw-r--r-- | usr/src/lib/libiscsitgt/common/xml.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/usr/src/lib/libiscsitgt/common/xml.c b/usr/src/lib/libiscsitgt/common/xml.c index de90d9c197..e24385179c 100644 --- a/usr/src/lib/libiscsitgt/common/xml.c +++ b/usr/src/lib/libiscsitgt/common/xml.c @@ -465,6 +465,9 @@ tgt_xml_encode(uint8_t *ip, size_t ip_size, char **buf, size_t *buf_size) bp += 2; } + /* make it null terminated */ + *bp = 0; + return (True); } |