.protocol = protocol,
.family = family,
.resend_timeout = MULTICAST_RESEND_TIMEOUT_MIN_USEC,
- .mdns_goodbye_event_source = NULL,
+
+ /* Enforce ratelimiting for the multicast protocols */
+ .ratelimit = { MULTICAST_RATELIMIT_INTERVAL_USEC, MULTICAST_RATELIMIT_BURST },
};
if (protocol == DNS_PROTOCOL_DNS) {
log_debug("New scope on link %s, protocol %s, family %s", l ? l->ifname : "*", dns_protocol_to_string(protocol), family == AF_UNSPEC ? "*" : af_to_name(family));
- /* Enforce ratelimiting for the multicast protocols */
- s->ratelimit = (const RateLimit) { MULTICAST_RATELIMIT_INTERVAL_USEC, MULTICAST_RATELIMIT_BURST };
-
*ret = s;
return 0;
}