X-Git-Url: http://git.meshlink.io/?a=blobdiff_plain;f=avahi-core%2Finternal.h;h=d0a10d665161b2b2c3f2bd022db619e007c0cdda;hb=9f00e061367adf8889e8faa17553f71f29ef2362;hp=8f18219723f8ad4eccf97c352b1598cdbbc42bfb;hpb=e865e3dba3c6ee5de5581dbfbafc025aa5c9947e;p=catta diff --git a/avahi-core/internal.h b/avahi-core/internal.h index 8f18219..d0a10d6 100644 --- a/avahi-core/internal.h +++ b/avahi-core/internal.h @@ -41,12 +41,12 @@ typedef struct AvahiEntry AvahiEntry; #include "multicast-lookup.h" #include "dns-srv-rr.h" -#define AVAHI_MAX_LEGACY_UNICAST_REFLECT_SLOTS 100 +#define AVAHI_LEGACY_UNICAST_REFLECT_SLOTS_MAX 100 #define AVAHI_FLAGS_VALID(flags, max) (!((flags) & ~(max))) #define AVAHI_RR_HOLDOFF_MSEC 1000 -#define AVAHI_RR_HOLDOFF_MSEC_RATE_LIMIT 60000 +#define AVAHI_RR_HOLDOFF_MSEC_RATE_LIMIT 20000 #define AVAHI_RR_RATE_LIMIT_COUNT 15 typedef struct AvahiLegacyUnicastReflectSlot AvahiLegacyUnicastReflectSlot; @@ -193,7 +193,6 @@ int avahi_server_add_ptr( const char *name, const char *dest); - #define AVAHI_CHECK_VALIDITY(server, expression, error) { \ if (!(expression)) \ return avahi_server_set_errno((server), (error)); \