summaryrefslogtreecommitdiff
path: root/minecctl/misc-commands.c
diff options
context:
space:
mode:
Diffstat (limited to 'minecctl/misc-commands.c')
-rw-r--r--minecctl/misc-commands.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/minecctl/misc-commands.c b/minecctl/misc-commands.c
index 8a54e64..1133e55 100644
--- a/minecctl/misc-commands.c
+++ b/minecctl/misc-commands.c
@@ -434,7 +434,11 @@ static bool select_free_ports(struct cfg *cfg, uint16_t *listen_port,
}
if (!used) {
- error("Found unused port, %" PRIu16, lport);
+ debug(DBG_CFG, "found unused port, "
+ "listen: %" PRIu16 ", "
+ "mc: %" PRIu16 ", "
+ "rcon: %" PRIu16,
+ lport, mport, rport);
if (listen_port && *listen_port == 0)
*listen_port = lport;