sshping icon indicating copy to clipboard operation
sshping copied to clipboard

fix missing brackets during IPv6 address parsing

Open sunziping2016 opened this issue 1 year ago • 0 comments

It seems if the host argument in ssh_options_set(session, SSH_OPTIONS_HOST, host) is an IPv6 address, this address should be enclosed with the brackets.

I only tested this PR with an IPv6 address. I have NOT verified the assumption above in the libssh documentation.

sunziping2016 avatar Feb 04 '24 06:02 sunziping2016