aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/listen.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/listen.c b/src/listen.c
index 51f6f9f22..2cf167766 100644
--- a/src/listen.c
+++ b/src/listen.c
@@ -260,6 +260,7 @@ void listenOnPort(void)
do {
parseListenConfigParam(port, param);
} while ((param = config_get_next_param(CONF_BIND_TO_ADDRESS, param)));
+ boundPort = port;
}
void closeAllListenSockets(void)