mirror of
https://github.com/lwip-tcpip/lwip.git
synced 2024-11-19 23:12:09 +00:00
parent
282389a332
commit
dcb29c591f
@ -766,7 +766,7 @@ nd6_input(struct pbuf *p, struct netif *inp)
|
|||||||
|
|
||||||
rdnss_opt = (struct rdnss_option *)buffer;
|
rdnss_opt = (struct rdnss_option *)buffer;
|
||||||
num = (rdnss_opt->length - 1) / 2;
|
num = (rdnss_opt->length - 1) / 2;
|
||||||
for (n = 0; (rdnss_server_idx < DNS_MAX_SERVERS) && (n < num); n++) {
|
for (n = 0; (rdnss_server_idx < DNS_MAX_SERVERS) && (n < num); n++, copy_offset += sizeof(ip6_addr_p_t)) {
|
||||||
ip_addr_t rdnss_address;
|
ip_addr_t rdnss_address;
|
||||||
|
|
||||||
/* Copy directly from pbuf to get an aligned, zoned copy of the prefix. */
|
/* Copy directly from pbuf to get an aligned, zoned copy of the prefix. */
|
||||||
|
Loading…
Reference in New Issue
Block a user