Module zeroconf-discover would add the same sink twice: once over IPv4, once over IPv6. Fixes: * Options to disable IPv4 and IPv6. If both options are provided, the module fails to load. * Option to only load one tunnel per avahi service name and type. All the tunnel modules would immediately add a sink or source, even before authentication. Fix: * Add the sink/source only after the context is successfully connected. And some additional fixes: * zeroconf-discover: fix memory leak and prevent double-free. * pa_object_new: fix missing close paren. Yclept Nemo (8): zeroconf-discover: add arguments to disable ipv4/6 zeroconf-discover: fix memory issues zeroconf-discover: add argument 'one_per_name_type' tunnel*: put sink/source after authentication Fixes tunnel*: redo 'put sink/source after auth..' Fix pa_object_new macro (missing close paren) zeroconf-discover: fix 'one_per_name_type' src/modules/module-tunnel-sink-new.c | 273 ++++++++++++++--------- src/modules/module-tunnel-source-new.c | 345 +++++++++++++++++------------ src/modules/module-tunnel.c | 198 ++++++++++------- src/modules/module-zeroconf-discover.c | 382 ++++++++++++++++++++++++++++----- src/pulsecore/object.h | 2 +- 5 files changed, 836 insertions(+), 364 deletions(-) -- 2.14.4