Skip to content

Commit

Permalink
don't re-send auth params
Browse files Browse the repository at this point in the history
Signed-off-by: J. Lowell Wofford <lowell@lanl.gov>
  • Loading branch information
jlowellwofford committed Jul 29, 2021
1 parent 4a44e22 commit 9ec4c06
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions initiator.go
Original file line number Diff line number Diff line change
Expand Up @@ -698,9 +698,6 @@ func (s *IscsiTargetSession) Login() error {
log.Println("login: param negotiation")

queue = append(queue, []string{
fmt.Sprintf("InitiatorName=%s", s.opts.InitiatorName),
fmt.Sprintf("TargetName=%s", s.opts.Volume),
"SessionType=Normal",
fmt.Sprintf("MaxRecvDataSegmentLength=%d", s.opts.MaxRecvDLength),
fmt.Sprintf("FirstBurstLength=%d", s.opts.FirstBurstLength),
fmt.Sprintf("MaxBurstLength=%d", s.opts.MaxBurstLength),
Expand Down

0 comments on commit 9ec4c06

Please sign in to comment.