diff options
author | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2014-02-11 11:14:50 +0000 |
---|---|---|
committer | Edward Tomasz Napierala <trasz@FreeBSD.org> | 2014-02-11 11:14:50 +0000 |
commit | f7ae5bf8de8ed60d85176011919b78c851d3497f (patch) | |
tree | 91e9cda643335d8ec017600a149a11ebd6f8e2d2 /usr.sbin/ctld/discovery.c | |
parent | e1c0d0d8a377fd8b18f17bf856656c54a7dcadb2 (diff) | |
download | src-f7ae5bf8de8ed60d85176011919b78c851d3497f.tar.gz src-f7ae5bf8de8ed60d85176011919b78c851d3497f.zip |
Rename a variable, no functional changes.
Sponsored by: The FreeBSD Foundation
Notes
Notes:
svn path=/head/; revision=261757
Diffstat (limited to 'usr.sbin/ctld/discovery.c')
-rw-r--r-- | usr.sbin/ctld/discovery.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.sbin/ctld/discovery.c b/usr.sbin/ctld/discovery.c index f5727bd14f62..3612ce39c1d4 100644 --- a/usr.sbin/ctld/discovery.c +++ b/usr.sbin/ctld/discovery.c @@ -183,10 +183,10 @@ discovery(struct connection *conn) conn->conn_portal->p_portal_group) { log_debugx("not returning target \"%s\"; " "belongs to a different portal group", - targ->t_iqn); + targ->t_name); continue; } - keys_add(response_keys, "TargetName", targ->t_iqn); + keys_add(response_keys, "TargetName", targ->t_name); } } else { targ = target_find(conn->conn_portal->p_portal_group->pg_conf, @@ -195,7 +195,7 @@ discovery(struct connection *conn) log_debugx("initiator requested information on unknown " "target \"%s\"; returning nothing", send_targets); } else { - keys_add(response_keys, "TargetName", targ->t_iqn); + keys_add(response_keys, "TargetName", targ->t_name); } } keys_save(response_keys, response); |