xowf::IpRange method match (protected)
<instance of xowf::IpRange> match spec ip
Defined in packages/xowf/tcl/iprange-procs.tcl
- Parameters:
- spec (required)
- ip (required)
- Testcases:
- No testcase defined.
Source code: if {[string first / $spec] > -1 && [ns_subnetmatch $spec $ip]} { return 1 } elseif {[string first * $spec] > -1 && [string match $spec $ip]} { return 1 } elseif {$spec eq $ip} { return 1 } return 0XQL Not present: Generic, PostgreSQL, Oracle