Skip to content

Commit e205fed

Browse files
committed
Always process Neighbor Solicitation messages. This fixes IPv6
Neighbor Discovery not finding the ESP32 on Ethernet interfaces.
1 parent 2acf959 commit e205fed

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/core/ipv6/ip6.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,7 @@ ip6_input(struct pbuf *p, struct netif *inp)
476476
else if (mld6_lookfor_group(inp, ip6_current_dest_addr())) {
477477
netif = inp;
478478
}
479-
#else /* LWIP_IPV6_MLD */
479+
#endif /* LWIP_IPV6_MLD */
480480
else if (ip6_addr_issolicitednode(ip6_current_dest_addr())) {
481481
/* Filter solicited node packets when MLD is not enabled
482482
* (for Neighbor discovery). */
@@ -491,7 +491,6 @@ ip6_input(struct pbuf *p, struct netif *inp)
491491
}
492492
}
493493
}
494-
#endif /* LWIP_IPV6_MLD */
495494
else {
496495
netif = NULL;
497496
}

0 commit comments

Comments
 (0)