Fix the case where pfSense_get_ifaddrs() returns NULL.
It happens when the interface has no address (triggered with pppoe).
Fix the case where pfSense_get_ifaddrs() returns NULL.
It happens when the interface has no address (triggered with pppoe).