From e6fdfd4c4c753fe3a06edc4ae3b767c57c10d3f7 Mon Sep 17 00:00:00 2001 From: David Härdeman Date: Sat, 11 Jul 2020 18:07:27 +0200 Subject: Flesh out the new command a bit more --- minecctl/minecctl.c | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'minecctl/minecctl.c') diff --git a/minecctl/minecctl.c b/minecctl/minecctl.c index 3b1da80..344d3d7 100644 --- a/minecctl/minecctl.c +++ b/minecctl/minecctl.c @@ -497,6 +497,12 @@ static void parse_cmdline(struct cfg *cfg, int argc, char *const *argv) int main(int argc, char *const *argv) { struct cfg cfg = { + .listen_port_min = 20000, + .listen_port_max = 23999, + .mc_port_min = 24000, + .mc_port_max = 27999, + .rcon_port_min = 28000, + .rcon_port_max = 31999, .servers = LIST_HEAD_INIT(cfg.servers), }; bool success = false; -- cgit v1.2.3