Validate interface IP explicitly as v4 or v6
Validate interface IP explicitly as v4 or 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 filed.
And IPv6 addresses could be put in IPv4 fields also.
ch1c4um/pfsense,ch1c4um/pfsense,BlackstarGroup/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,ptorsten/pfsense,phil-davis/pfsense,dennypage/pfsense,dennypage/pfsense,NOYB/pfsense,dennypage/pfsense,ch1c4um/pfsense,jxmx/pfsense,pfsense/pfsense,ch1c4um/pfsense,ptorsten/pfsense,NewEraCracker/pfsense,pfsense/pfsense,NOYB/pfsense,jxmx/pfsense,pfsense/pfsense,dennypage/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,BlackstarGroup/pfsense,pfsense/pfsense,jxmx/pfsense,phil-davis/pfsense,NOYB/pfsense,brunostein/pfsense,brunostein/pfsense,NewEraCracker/pfsense,BlackstarGroup/pfsense,phil-davis/pfsense,brunostein/pfsense,ptorsten/pfsense