diff options
author | Tom Ryder <tom@sanctum.geek.nz> | 2017-02-15 14:50:09 +1300 |
---|---|---|
committer | Tom Ryder <tom@sanctum.geek.nz> | 2017-02-15 14:50:09 +1300 |
commit | 4e79904914f11396eb01a85b848af1f42ec684c9 (patch) | |
tree | db754d26d57db48240b08633b8eb37364e853c9c /bin/osc | |
parent | Add xmpp as a valid osc(1df) STARTTLS method (!) (diff) | |
download | dotfiles-4e79904914f11396eb01a85b848af1f42ec684c9.tar.gz dotfiles-4e79904914f11396eb01a85b848af1f42ec684c9.zip |
Add -servername spec to osc(1df)
Diffstat (limited to 'bin/osc')
-rwxr-xr-x | bin/osc | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -48,6 +48,8 @@ case $serv in set -- "$@" -starttls xmpp ;; esac +## Send the host parameter as the server name (SNI) +set -- "$@" -servername "$host" ## Finally, add the host and service to connect to set -- "$@" -connect "$host":"$serv" |