aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf-avahi.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/zeroconf-avahi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf-avahi.c b/src/zeroconf-avahi.c
index 15920cf00..28f02112e 100644
--- a/src/zeroconf-avahi.c
+++ b/src/zeroconf-avahi.c
@@ -114,7 +114,7 @@ static void avahiRegisterService(AvahiClient * c)
ret = avahi_entry_group_add_service(avahiGroup,
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC,
0, avahiName, SERVICE_TYPE, NULL,
- NULL, boundPort, NULL);
+ NULL, listen_port, NULL);
if (ret < 0) {
g_warning("Failed to add service %s: %s", SERVICE_TYPE,
avahi_strerror(ret));