use name instead of c->ssl->session things

This commit is contained in:
Joris Vink 2019-04-30 21:06:27 +02:00
parent 12fc1396c1
commit b8ceab37bf
1 changed files with 1 additions and 2 deletions

View File

@ -72,8 +72,7 @@ client_setup(struct connection *c)
/* Figure out what backend to use. */
for (i = 0; backends[i].name != NULL; i++) {
if (!strcasecmp(backends[i].name,
c->ssl->session->tlsext_hostname))
if (!strcasecmp(backends[i].name, name))
break;
}