diff options
author | trasz <trasz@FreeBSD.org> | 2016-06-05 08:48:37 +0000 |
---|---|---|
committer | trasz <trasz@FreeBSD.org> | 2016-06-05 08:48:37 +0000 |
commit | c29ddfe43a4b603cb0807a11660d1a393ce2b6e0 (patch) | |
tree | eaa71280fbcdfab859da7e6c85281444b8b38875 /usr.sbin/ctld/login.c | |
parent | e8a86f6b009bd4c105f9e6e4d82ae77002baa712 (diff) | |
download | FreeBSD-src-c29ddfe43a4b603cb0807a11660d1a393ce2b6e0.zip FreeBSD-src-c29ddfe43a4b603cb0807a11660d1a393ce2b6e0.tar.gz |
Report negotiated MaxBurstLength and FirstBurstLength in "iscsictl -v"
and "ctladm islist -v" outputs.
MFC after: 1 month
Diffstat (limited to 'usr.sbin/ctld/login.c')
-rw-r--r-- | usr.sbin/ctld/login.c | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/usr.sbin/ctld/login.c b/usr.sbin/ctld/login.c index f767d88..c450b5c 100644 --- a/usr.sbin/ctld/login.c +++ b/usr.sbin/ctld/login.c @@ -582,10 +582,7 @@ login_negotiate_key(struct pdu *request, const char *name, tmp, conn->conn_data_segment_limit); tmp = conn->conn_data_segment_limit; } - /* - * We don't pass the value to the kernel; it only enforces - * hardcoded limit anyway. - */ + conn->conn_first_burst_length = tmp; keys_add_int(response_keys, name, tmp); } else if (strcmp(name, "DefaultTime2Wait") == 0) { keys_add(response_keys, name, value); |