From 4e79904914f11396eb01a85b848af1f42ec684c9 Mon Sep 17 00:00:00 2001 From: Tom Ryder Date: Wed, 15 Feb 2017 14:50:09 +1300 Subject: Add -servername spec to osc(1df) --- bin/osc | 2 ++ 1 file changed, 2 insertions(+) (limited to 'bin') diff --git a/bin/osc b/bin/osc index 2fc05fd1..a477c699 100755 --- a/bin/osc +++ b/bin/osc @@ -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" -- cgit v1.2.3