Infer ipv6_server from bind_address; fix client connect to IN(6)ADDR_ANY

This commit is contained in:
Kahrl
2014-03-07 01:00:03 +01:00
committed by sapier
parent edcad09dee
commit 6090e95cdc
7 changed files with 88 additions and 47 deletions

View File

@@ -174,7 +174,8 @@ class Server : public con::PeerHandler, public MapEventReceiver,
Server(
const std::string &path_world,
const SubgameSpec &gamespec,
bool simple_singleplayer_mode
bool simple_singleplayer_mode,
bool ipv6
);
~Server();
void start(Address bind_addr);