summaryrefslogtreecommitdiffstats
path: root/config.def.h
diff options
context:
space:
mode:
authorGravatar Christian Hesse <mail@eworm.de>2017-05-13 12:30:08 +0200
committerGravatar Christian Hesse <mail@eworm.de>2017-05-13 12:30:08 +0200
commitcdbb05bf6a2864077f905cb96353e83f5b2b9ea8 (patch)
tree101768ce520c1c44f69e956f31b255d38f89cd5a /config.def.h
parent8667fb8d747569f83c48bb14f3410af652cd7b15 (diff)
downloadpacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.gz
pacredir-cdbb05bf6a2864077f905cb96353e83f5b2b9ea8.tar.zst
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.
Diffstat (limited to 'config.def.h')
-rw-r--r--config.def.h4
1 files changed, 2 insertions, 2 deletions
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"