From 670e47eec36b11e77eb186e6fadd2b46dd3361ca Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 17 Jun 2006 10:24:20 +0000 Subject: (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 --- network.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'network.h') 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 -- cgit v1.2.3-70-g09d2