Skip to content

Commit

Permalink
Post to Port
Browse files Browse the repository at this point in the history
  • Loading branch information
Steven Arnott committed Mar 13, 2018
1 parent 9198115 commit bbce04e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tmsh.go
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ func NewKeySession(host, port, user string, key []byte) (*BigIP, error) {

// NewSession sets up new SSH session to BIG-IP TMSH
func NewSession(host, port, user, password string) (*BigIP, error) {
return GenSession(host,post,user,password,[]byte{})
return GenSession(host,port,user,password,[]byte{})
}

// GenSession handles either Password or SSH Key based..
Expand Down

0 comments on commit bbce04e

Please sign in to comment.