Mwnci ipincidr() Function

Syntax

ipincidr(cidr, ip address)

Description

The ipincidr() function will return the ip address if it belongs in the cidr range, or a NULL if not.

Example

if (ipincidr("192.168.0.0/24", "192.168.0.1")) {
    println("IP is in the cidr block")
}


IP is in the cidr block