• rswindell's avatar
    Fixed a couple of oddities with the resolved host name of connected terminal · de957e99
    rswindell authored
    1. The host_name is not known at the time loginBanned() is called, so that was
        a bogus value (left over from the previous connection) being used in the
        ipfilter_exempt.cfg file check.
    2. Sometimes, getnameinfo() would fail, but still return 0, so previous
        host_name value would be erroneously stored as the current client hostname.