aboutsummaryrefslogtreecommitdiff
path: root/bin/osc
diff options
context:
space:
mode:
Diffstat (limited to 'bin/osc')
-rwxr-xr-xbin/osc2
1 files changed, 2 insertions, 0 deletions
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"