From 5484aaee5f9407e61d77e81236b4942c12b94556 Mon Sep 17 00:00:00 2001 From: Qball Cow Date: Wed, 11 Feb 2009 14:43:01 +0100 Subject: Set boundPort to the current portnumber, so zeroconf announces the right port number --- src/listen.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src') diff --git a/src/listen.c b/src/listen.c index 51f6f9f2..2cf16776 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) -- cgit v1.2.3