zeroconf/{bonjour,avahi}: pass service_type as parameter

This commit is contained in:
Max Kellermann
2021-02-24 15:03:58 +01:00
parent 9d6bf7e720
commit 29b49dd630
9 changed files with 24 additions and 42 deletions

View File

@@ -29,7 +29,7 @@ main([[maybe_unused]] int argc, [[maybe_unused]] char **argv)
EventLoop event_loop;
const ShutdownHandler shutdown_handler(event_loop);
const ZeroconfHelper helper(event_loop, "test", 1234);
const ZeroconfHelper helper(event_loop, "test", "_mpd._tcp", 1234);
event_loop.Run();