Fix a couple of 'route: writing to routing socket: Invalid argument' warnings during the boot.
Fix a couple of 'route: writing to routing socket: Invalid argument' warnings during the boot.

Use the correct variable and only add the route when the hostname is resolved (if the remote address is a hostname).
route: writing to routing socket: Invalid argument

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