ViewVC Help
View File | Revision Log | Show Annotations | View Changeset | Root Listing
root/svn/ircd-hybrid/branches/8.2.x/src/conf.c
(Generate patch)

Comparing ircd-hybrid/branches/8.2.x/src/conf.c (file contents):
Revision 9332 by michael, Sat Apr 11 17:01:20 2020 UTC vs.
Revision 9426 by michael, Sun Jun 14 17:27:16 2020 UTC

# 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  

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines