Fixed bug with default gateway when no gateways are active
Pippin doesnt like functions as array keys...
Merge pull request #2234 from ghost1227/issue/2233

Fixed bug with default gateway when no gateways are active