Skip to content

Commit

Permalink
sort-dns: fix scope comparison
Browse files Browse the repository at this point in the history
  • Loading branch information
lws-team committed Jan 16, 2022
1 parent a352b9b commit 91f0b3b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/core-net/client/sort-dns.c
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ lws_sort_dns_dcomp(const lws_dns_sort_t *da, const lws_dns_sort_t *db)
*/

scopea = lws_ipv6_unicast_scope(to_v6_sa(&da->dest));
scopeb = lws_ipv6_unicast_scope(to_v6_sa(&db));
scopeb = lws_ipv6_unicast_scope(to_v6_sa(&db->dest));
scope_srca = lws_ipv6_unicast_scope(to_v6_sa(&da->source));
scope_srcb = lws_ipv6_unicast_scope(to_v6_sa(&db->source));

Expand Down

0 comments on commit 91f0b3b

Please sign in to comment.