Match Field for Trunks Error

Vitalpbx: 4.1.0-3

When trying to create a trunk and set the match fields with ips with subnets, the field is returning a warning message and not letting the trunk be saved properly. The match field has always been capable of accepting ips with subnets in CIDR notation so this is currently a bug.

Here is the error showing the ips with subnets in them not being valid, when they where valid on previous versions.


The Match field says ips with subnets are fully supported:

The value is a comma-delimited list of IP addresses or hostnames. IP addresses may have a subnet mask appended.
The subnet mask may be written in either CIDR or dotted-decimal notation. Separate the IP address and subnet mask
with a slash (/).