# | Line 315 | Line 315 | verify_access(struct Client *client) | |
---|---|---|
315 | return NOT_AUTHORIZED; | |
316 | } | |
317 | ||
318 | + | /* Preserve x->host in x->realhost before it gets overwritten. */ |
319 | + | strlcpy(client->realhost, client->host, sizeof(client->realhost)); |
320 | + | |
321 | if (IsConfDoSpoofIp(conf)) | |
322 | strlcpy(client->host, conf->name, sizeof(client->host)); | |
323 |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |