diff options
author | rubidium <rubidium@openttd.org> | 2009-04-03 10:29:56 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2009-04-03 10:29:56 +0000 |
commit | 47602d7b60e40821c364dbd07161caaf30803d52 (patch) | |
tree | 3554d71e91f71f222be628b9cc55036280083b66 /src/network/network_udp.cpp | |
parent | dccfba6e20cdc4bb6d068f075e9b6d7fefee0fb0 (diff) | |
download | openttd-47602d7b60e40821c364dbd07161caaf30803d52.tar.xz |
(svn r15925) -Codechange: remove _network_server_bind_ip as it's pretty AF dependant.
Diffstat (limited to 'src/network/network_udp.cpp')
-rw-r--r-- | src/network/network_udp.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/network/network_udp.cpp b/src/network/network_udp.cpp index b49fa9bd9..01dad9cbc 100644 --- a/src/network/network_udp.cpp +++ b/src/network/network_udp.cpp @@ -483,7 +483,7 @@ void NetworkUDPRemoveAdvertise() /* check for socket */ if (!_udp_master_socket->IsConnected()) { - if (!_udp_master_socket->Listen(NetworkAddress(_network_server_bind_ip, 0), false)) return; + if (!_udp_master_socket->Listen(NetworkAddress(_settings_client.network.server_bind_ip, 0), false)) return; } if (!ThreadObject::New(NetworkUDPRemoveAdvertiseThread, NULL)) { @@ -520,7 +520,7 @@ void NetworkUDPAdvertise() /* check for socket */ if (!_udp_master_socket->IsConnected()) { - if (!_udp_master_socket->Listen(NetworkAddress(_network_server_bind_ip, 0), false)) return; + if (!_udp_master_socket->Listen(NetworkAddress(_settings_client.network.server_bind_ip, 0), false)) return; } if (_network_need_advertise) { |