pfsense/pfsense-packages — pull request #464 by darkain (2013-06-24 00:26:21+00:00)
Title: IPv6 Addresses need to be enclosed in brackets

IPv6 Addresses need to be enclosed in brackets

This is a very lazy test for IPv6 instead of IPv4 addresses. The desired function, filter_var, does not appear to be available in the pfSense build I'm running.

http://php.net/manual/en/function.filter-var.php