aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.c')
-rw-r--r--src/main.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/main.c b/src/main.c
index e32146e6c..1166237ec 100644
--- a/src/main.c
+++ b/src/main.c
@@ -42,6 +42,7 @@
#include "../config.h"
#include "utils.h"
#include "normalize.h"
+#include "zeroconf.h"
#include "localization.h"
#include <stdio.h>
@@ -452,6 +453,7 @@ int main(int argc, char *argv[])
initAudioDriver();
initVolume();
initInterfaces();
+ initZeroconf();
initReplayGainState();
initNormalization();
initInputStream();
@@ -477,6 +479,7 @@ int main(int argc, char *argv[])
write_state_file();
playerKill();
+ finishZeroconf();
freeAllInterfaces();
closeAllListenSockets();
finishPlaylist();