fix get wrong gateway mac address

I set my own gw_address, then nodogsplash crashed when user was authing.
httpd want to get gw_mac value，but it is null，so nodogsplash crashed.