def METHOD_NAME(self, packet: bytes) -> Any:
    """
    Overridden to pass src_ip to credentials.UsernamePasswordIP
    """
    password = getNS(packet[1:])[0]
    srcIp = self.transport.transport.getPeer().host  # type: ignore
    c = credentials.UsernamePasswordIP(self.user, password, srcIp)
    return self.portal.login(c, srcIp, IConchUser).addErrback(self._ebPassword)