7 Nov
2016
7 Nov
'16
11:38 a.m.
On 07/11/16 16:03, Alan DeKok wrote:
if (&NAS-IP-Address < 10.254.0.0/16) {
Which checks that the IP is "within" the network. ASCII doesn't have a "set contains" character, so "<" is the best we can do.
FWIW, Postgres uses "<<" for "is contained within" or "<<=" for "contained within or equals" and conversely for >> and >>=. Newer versions have && for "contains or contained by".