summaryrefslogtreecommitdiff
path: root/network.h
diff options
context:
space:
mode:
authortron <tron@openttd.org>2006-06-17 10:24:20 +0000
committertron <tron@openttd.org>2006-06-17 10:24:20 +0000
commit670e47eec36b11e77eb186e6fadd2b46dd3361ca (patch)
treed1576181fe2728de7164f835ee6bc83ed183127f /network.h
parentbdf64588d3c99ccaa7e6fbc2e96a3d2dd032ee6a (diff)
downloadopenttd-670e47eec36b11e77eb186e6fadd2b46dd3361ca.tar.xz
(svn r5293) -Fix: Not all network interfaces are capable of broadcasting. Don't record those which aren't
-Fix: Not all networks are /24. Generate proper broadcast addresses for non-/24 nets
Diffstat (limited to 'network.h')
-rw-r--r--network.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/network.h b/network.h
index 9e86459aa..6c9057cc9 100644
--- a/network.h
+++ b/network.h
@@ -157,7 +157,7 @@ VARDEF uint32 _frame_counter_max; // To where we may go with our clients
VARDEF uint32 _last_sync_frame; // Used in the server to store the last time a sync packet was sent to clients.
// networking settings
-VARDEF uint32 _network_ip_list[MAX_INTERFACES + 1]; // Network IPs
+VARDEF uint32 _broadcast_list[MAX_INTERFACES + 1];
VARDEF uint16 _network_server_port;
/* We use bind_ip and bind_ip_host, where bind_ip_host is the readable form of