zeroconf: sanitize the properties

Use some constants for the zeroconf properties. Make the right ones are
used in all places.
This commit is contained in:
Wim Taymans 2026-02-27 17:20:26 +01:00
parent 3a1b790588
commit dee2d5ee06
10 changed files with 165 additions and 133 deletions

View file

@ -13,8 +13,8 @@
extern "C" {
#endif
#define PW_SENDSPIN_SERVER_SERVICE "_sendspin-server._tcp"
#define PW_SENDSPIN_CLIENT_SERVICE "_sendspin._tcp"
#define PW_SENDSPIN_SERVER_SERVICE_TYPE "_sendspin-server._tcp"
#define PW_SENDSPIN_CLIENT_SERVICE_TYPE "_sendspin._tcp"
#define PW_SENDSPIN_DEFAULT_SERVER_PORT 8927
#define PW_SENDSPIN_DEFAULT_CLIENT_PORT 8928