(listen_addr): New econfig key.

(player_init): Implement it.

(player_init): Support service name in econfig key loginport.  Service
empire no longer takes precedence over econfig.  Closes #797096.
This commit is contained in:
Markus Armbruster 2005-09-23 18:41:24 +00:00
parent d253e1266f
commit 1580b1f734
3 changed files with 26 additions and 8 deletions

View file

@ -58,6 +58,8 @@ EMPCFBOTH("data", datadir, char *, NSC_STRING, KM_INTERNAL,
"Directory the data is stored in")
EMPCFBOTH("info", infodir, char *, NSC_STRING, KM_INTERNAL,
"Directory the info pages are stored in")
EMPCFBOTH("listen_addr", listen_addr, char *, NSC_STRING, KM_INTERNAL,
"Local address the server should listen on. \"\" listens on all.")
EMPCFBOTH("port", loginport, char *, NSC_STRING, KM_INTERNAL,
"TCP/IP port the server will start up on")
EMPCFBOTH("privname", privname, char *, NSC_STRING, 0,