Extracted from Pike v8.0 release 28 as of 2015-09-20.
   

Method NetUtils.IpRangeLookup()->lookup_range()


Method lookup_range

Range lookup_range(int|string ipstr)

Description

Looks up an IP address and returns the associated Range, if any.

Parameter ipstr

The IP address in string or binary form.

Returns

The matching net-range