1.ip_greater_or_equals介绍
ip_greater_or_equals/2 — determine if one IP address is greater than or equal to another one
$EXPR1 ip_greater_or_equals $EXPR2
ip_greater_or_equals/2 arguments
| Argument | Type | Description |
| $EXPR1 | STRING | expression to the left of the operator |
| $EXPR2 | STRING | expression to the right of the operator |
Use ip_greater_or_equals/2 to determine if the value of expression $EXPR1 is an IP address that is greater than or equal to the IP address value of $EXPR2.If either of the expressions do not evaluate to an IP address in dotted decimal notation, the operator condition fails.
The IP addresses are compared as numbers.
2.ip_greater_or_equals样例
$E.mc_host_address ip_greater_or_equals ’10.1.1.100’
Any IP address within the range 10.1.1.100 to 255.255.255.255 for mc_host_address will satisfy this condition. An address like 9.1.1.101 will not satisfy this condition.

最低0.47元/天 解锁文章
701

被折叠的 条评论
为什么被折叠?



