Fix PHP error when adding a gateway from interfaces.php. Fixes #8680
Fix PHP error when adding a gateway from interfaces.php. Fixes #8680

pfsense/pfsense,dennypage/pfsense,phil-davis/pfsense,pfsense/pfsense,NewEraCracker/pfsense,dennypage/pfsense,NewEraCracker/pfsense,dennypage/pfsense,pfsense/pfsense,phil-davis/pfsense,NewEraCracker/pfsense,dennypage/pfsense,pfsense/pfsense,NewEraCracker/pfsense,phil-davis/pfsense,phil-davis/pfsense