From cdbb05bf6a2864077f905cb96353e83f5b2b9ea8 Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Sat, 13 May 2017 12:30:08 +0200 Subject: add distribution ID to avahi service names Now that we have pacredir in official repositories... ArchLinux ARM will have the package as well, having package names (at least for 'any') clash. So add distribution ID to avahi service names. This is incompatible with pacredir < 0.2.3, so make sure to update all your installations. --- config.def.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'config.def.h') diff --git a/config.def.h b/config.def.h index 3a08859..fd31880 100644 --- a/config.def.h +++ b/config.def.h @@ -24,8 +24,8 @@ #define PORT_PACDBSERVE 7079 /* avahi service names */ -#define PACSERVE "_pacserve._tcp" -#define PACDBSERVE "_pacdbserve_" ARCH "._tcp" +#define PACSERVE "_pacserve_" ID "._tcp" +#define PACDBSERVE "_pacdbserve_" ID "_" ARCH "._tcp" /* path to the config file */ #define CONFIGFILE "/etc/pacredir.conf" -- cgit v1.2.3-54-g00ecf