AllocateIP() private method

private AllocateIP ( string name ) : IPAddress
name string
return System.Net.IPAddress
Beispiel #1
0
        private IPAddress CatchAllProcessQuery(DnsQuestion question)
        {
            // If there is an interception configured, take it
            Interception interception = state_.Config.GetInterception(question.Name);

            if (interception != null)
            {
                return(GetIp(interception));
            }

            return(state_.AllocateIP(question.Name));
        }