Skip to content

Commit

Permalink
Add a space when specifying the port to a datagram session
Browse files Browse the repository at this point in the history
  • Loading branch information
eyedeekay committed Jan 9, 2024
1 parent 3dc49e3 commit 9b7a798
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion datagram.go
Original file line number Diff line number Diff line change
Expand Up @@ -60,7 +60,7 @@ func (s *SAM) NewDatagramSession(id string, keys i2pkeys.I2PKeys, options []stri
s.Close()
return nil, err
}
conn, err := s.newGenericSession("DATAGRAM", id, keys, options, []string{"PORT=" + lport})
conn, err := s.newGenericSession("DATAGRAM", id, keys, options, []string{" PORT=" + lport})
if err != nil {
return nil, err
}
Expand Down

0 comments on commit 9b7a798

Please sign in to comment.