Main repository for pfSense
Go to file
Phil Davis feb1953e84 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.
2014-10-24 20:10:50 +05:45
boot Add hw.usb.no_pf="1" to loader.conf on nanobsd 2013-02-01 22:58:38 +01:00
cf/conf Its long overdue the ez-ipupdate.cache file 2014-04-26 09:59:37 +00:00
conf.default Insert tracker ids for the default LAN rules 2014-04-14 20:46:05 +00:00
etc Merge pull request #1290 from jean-m-cyr/master 2014-09-25 08:18:05 -03:00
root Back to cons25 for now since we found some issues with xterm on serial console 2014-07-02 17:24:25 -03:00
sbin Avoid reseting firewall hostname by WAN DHCP. It should fix #3746 2014-07-07 20:12:54 -03:00
tmp Fix #3749: 2014-07-11 08:23:04 -03:00
usr Expand range or subnet for host alias 2014-10-24 20:10:50 +05:45
.gitattributes include gettext locales in line encoding list 2014-01-13 22:05:10 -05:00
.gitignore Ignore vim swap files 2013-03-08 14:41:01 -03:00
license.txt License Agreement 2014-04-14 18:40:47 -05:00