summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2014-10-24 20:10:50 +0545
committerPhil Davis <phil.davis@inf.org>2014-10-24 20:10:50 +0545
commitfeb1953e849e634a31c73fcb262734bd03362ef3 (patch)
treec9f8ec504b57ff5d961ee6c83beced0a7e00085d /etc
parent6b18c66b5128c0b1a6cb20edfee955a5d8caf1f7 (diff)
downloadpfsense-feb1953e849e634a31c73fcb262734bd03362ef3.zip
pfsense-feb1953e849e634a31c73fcb262734bd03362ef3.tar.gz
Expand range or subnet for host alias
When entering a host alias, if the user put an IP range (like 192.168.0.10-192.168.0.20) or a subnet (like 192.168.1.200/29) then expand it into a list of individual IP addresses. Check that it will not make too many rows to exceed the existing 5000 row limit on the GUI. Note: expanding ranges and subnets like this is only for IPv4 for now. Entering an IPv6 range or subnet in a hosts alias will display a message telling the user that is not supported - it could be done in future but currently the routines that convert this stuff are only for IPv4. I have done as much validation as I can think of, and where there is a problem the original user-entered data is preserved for re-display, as well as the input errors being displayed. So IMO it should be self-documenting.
Diffstat (limited to 'etc')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud