diff --git a/ircd/net.cc b/ircd/net.cc index b0c2a2c89..8ce7cdbce 100644 --- a/ircd/net.cc +++ b/ircd/net.cc @@ -2073,6 +2073,19 @@ try if(!name) return true; + //TODO: XXX + if(!m::my_host(name)) + { + log::dwarning + { + log, "%s: unrecognized SNI '%s' offered.", + loghead(*this), + name, + }; + + return false; + } + log::debug { log, "%s: offered SNI '%s'",