Bug 1111970 - Use gateways[0] instead of gateway. r=vchang

This commit is contained in:
Henry Chang 2014-12-16 14:35:09 +08:00
parent 5b21a0e682
commit edf5293c93

View File

@ -1181,7 +1181,7 @@ function P2pStateMachine(aP2pCommand, aNetUtil) {
enter: function() {
this.groupOwner = {
macAddress: _groupInfo.goAddress,
ipAddress: _groupInfo.networkInterface.gateway,
ipAddress: _groupInfo.networkInterface.gateways[0],
passphrase: _groupInfo.passphrase,
ssid: _groupInfo.ssid,
freq: _groupInfo.freq,