pike.git / lib / modules / NetUtils.pmod

version» Context lines:

pike.git/lib/modules/NetUtils.pmod:320:    return sprintf("Range(%O -> %O)", (string)this, info);    }    }       //! Return a copy of the internal range to info mapping.    mapping(string:array(Range)) get_ranges()    {    return range_to_info + ([]);    }    -  protected string _sprintf() +  protected string _sprintf(int c)    {    return sprintf("IpRangeLookup( %{%O %})",Array.flatten(values(range_to_info)));    }       //! Looks up an IP address and returns the associated information, if any.    //!    //! @param ipstr    //! The IP address in string or binary form.    //! @returns    //! The information associated with the most-specific IP range