Add default case when detecting dynamic gateway ip

Add a default to $wancfg['ipaddr'] case for both ipv4 and ipv6 to allow gateway ip to be returned rather then 'dynamic' for an openvpn connection
Merge pull request #575 from avandeweghe/patch-1

Add default case when detecting dynamic gateway ip