summaryrefslogtreecommitdiff
path: root/minecctl/minecctl.c
diff options
context:
space:
mode:
Diffstat (limited to 'minecctl/minecctl.c')
-rw-r--r--minecctl/minecctl.c6
1 files changed, 6 insertions, 0 deletions
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;