diff options
author | Qball Cow <qball@sarine.nl> | 2009-02-11 14:43:01 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2009-02-11 14:45:04 +0100 |
commit | 5484aaee5f9407e61d77e81236b4942c12b94556 (patch) | |
tree | 2d3040089685b214b9d870879ae528d84e53cbbf /src/listen.c | |
parent | b21e8ad4a5e5cf5bbfdb8cca49df852523fe53a4 (diff) | |
download | mpd-5484aaee5f9407e61d77e81236b4942c12b94556.tar.gz mpd-5484aaee5f9407e61d77e81236b4942c12b94556.tar.xz mpd-5484aaee5f9407e61d77e81236b4942c12b94556.zip |
Set boundPort to the current portnumber, so zeroconf announces the right port number
Diffstat (limited to 'src/listen.c')
-rw-r--r-- | src/listen.c | 1 |
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) |