Added support for wlan to determine IP