bsdperimeter/pfsense — pull request #399 by phil-davis (2013-02-10 17:42:56+00:00)
Title: Validate IP address explicitly as v4 and v6

The IP Address fields on the Interfaces Edit page were just using is_ipaddr to validate them. I could put an IPv4 address in as the IPv6 static IP and it took it and saved it, then got my system in a knot! It even adjusted the subnet bits dropdown when I typed a valid IPv4 address format in the IPv6 field.
And IPv6 addresses could be put in IPv4 fields also.
This change will protect the system from Wally's like me:)