Skip to content

Commit

Permalink
Merge pull request #55 from devolo/fix-conflict-check
Browse files Browse the repository at this point in the history
Fix check for conflict in mdnsd_in
  • Loading branch information
troglobit authored Aug 18, 2022
2 parents 3dad963 + 54a4575 commit d0d4147
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion libmdnsd/mdnsd.c
Original file line number Diff line number Diff line change
Expand Up @@ -830,7 +830,7 @@ int mdnsd_in(mdns_daemon_t *d, struct message *m, struct in_addr ip, unsigned sh
/* probing state, check for conflicts */
if (r->unique && r->unique < 5 && !r->modified) {
/* Check all to-be answers against our own */
for (j = 0; j < m->nscount; j++) {
for (j = 0; j < m->ancount; j++) {
if (!m->an || m->qd[i].type != m->an[j].type || strcmp(m->qd[i].name, m->an[j].name))
continue;

Expand Down

0 comments on commit d0d4147

Please sign in to comment.