aboutsummaryrefslogtreecommitdiffstats
path: root/src/zeroconf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/zeroconf.c')
-rw-r--r--src/zeroconf.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zeroconf.c b/src/zeroconf.c
index eeec794cd..6c2c8e717 100644
--- a/src/zeroconf.c
+++ b/src/zeroconf.c
@@ -255,7 +255,7 @@ static void avahiRegisterService(AvahiClient *c)
AVAHI_IF_UNSPEC, AVAHI_PROTO_UNSPEC, 0,
avahiName, SERVICE_TYPE,
NULL, NULL,
- getBoundPort(),
+ boundPort,
NULL);
if( ret < 0 ) {
ERROR( "Avahi: Failed to add service %s: %s\n", SERVICE_TYPE, avahi_strerror(ret) );