diff options
author | tron <tron@openttd.org> | 2006-06-17 10:24:20 +0000 |
---|---|---|
committer | tron <tron@openttd.org> | 2006-06-17 10:24:20 +0000 |
commit | 670e47eec36b11e77eb186e6fadd2b46dd3361ca (patch) | |
tree | d1576181fe2728de7164f835ee6bc83ed183127f /network.h | |
parent | bdf64588d3c99ccaa7e6fbc2e96a3d2dd032ee6a (diff) | |
download | openttd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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 |