Little bug in STGT
A message that is not in the archive (sent off-list or not yet received): Pine.LNX.4.64.1411251809010.24756@cube
Hi,
Quoted 3 lines · On Tue, 25 Nov 2014 18:13:27 +0100 (CET) [email protected] wrote:
Sorry for writing directly, but this tiny typo is not worth the effort of subscribing.
It prevents a deletion of entry fromiqn_acl.
Thanks a lot! Applied.
You can post anything to the mailing list without subscribing.
Quoted 20 lines
Regards,
Borgusr/mgmt.c +0
-0@@ -152,7 +152,7 @@ static tgtadm_err target_mgmt(int lld_no, struct
mgmt_task*
mtask)
p =strstr(mtask->req_buf, "initiator-name=");if (p) { p += strlen("initiator-name=");usr/mgmt.c +1
-1- adm_err =iqn_acl_del (req->tid, p +strlen ("initiator-name=" )); + adm_err =iqn_acl_del (req->tid, p);if (adm_err !=TGTADM_SUCCESS ) {eprintf ("Failed to unbind by name: %s\n" , p);break ;