Pike v8.1 release 6

Method NetUtils.is_local_network()


Method is_local_network

string is_local_network(RemoteAddressObject|int|string host)

Description

Returns non-zero if host is on one of the local networks, and if so which interface it is on.