Fixes fatal error if attempting to check for an IP and the interface is down
Fixes fatal error if attempting to check for an IP and the interface is down - Hopefully
Moves on-error section, in attempt to fix ping bug
Adds PPPoE down detection into 'on-error' section
Adds Ethernet down detection into 'on-error' section
Forgot a closing brace
A brave commit that changes some of the stateful functionality, but potentially increases a new bug where by routes can increase several times
Fixes an issue where if state changes from down, to up, routes arent adjusted
Adjusted WAN up state