resolved: fix assertion when joining llmnr mcast group
This commit is contained in:
@@ -366,7 +366,10 @@ int dns_scope_llmnr_membership(DnsScope *s, bool b) {
|
||||
int fd;
|
||||
|
||||
assert(s);
|
||||
assert(s->protocol == DNS_PROTOCOL_LLMNR);
|
||||
|
||||
if (s->protocol != DNS_PROTOCOL_LLMNR)
|
||||
return 0;
|
||||
|
||||
assert(s->link);
|
||||
|
||||
if (s->family == AF_INET) {
|
||||
|
||||
Reference in New Issue
Block a user