|
From: | Erik Ekman |
Subject: | [lwip-devel] [bug #52796] ip6_addr_cmp() should not compare zones for all addresses |
Date: | Mon, 8 Jan 2018 16:36:47 -0500 (EST) |
User-agent: | Mozilla/5.0 (X11; Fedora; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.62 Safari/537.36 |
Follow-up Comment #3, bug #52796 (project lwip): The ip6_addr_assign_zone() function is used to set zones, and it only does it for addresses with certain scope. It is therefore safe to compare both the address and zone in all cases. MDNS is special since it compared a link-local multicast address received from a zone/netif with the same address that had just been initialized (=zone 0). If the address is 'normal' (not a multicast or link-local), the cmp_zoneless is not required. _______________________________________________________ Reply to this item at: <http://savannah.nongnu.org/bugs/?52796> _______________________________________________ Message sent via/by Savannah http://savannah.nongnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |