File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change @@ -322,9 +322,6 @@ mld6_joingroup(const ip6_addr_t *srcaddr, const ip6_addr_t *groupaddr)
322
322
err_t err = ERR_VAL ; /* no matching interface */
323
323
struct netif * netif ;
324
324
LWIP_ASSERT_CORE_LOCKED ();
325
- #if ESP_IPV6
326
- LWIP_ERROR ("mld6_joingroup: attempt to join non-multicast address" , ip6_addr_ismulticast (groupaddr ), return ERR_VAL ;);
327
- #endif
328
325
/* loop through netif's */
329
326
NETIF_FOREACH (netif ) {
330
327
/* Should we join this interface ? */
@@ -355,7 +352,9 @@ mld6_joingroup_netif(struct netif *netif, const ip6_addr_t *groupaddr)
355
352
struct mld_group * group ;
356
353
#if LWIP_IPV6_SCOPES
357
354
ip6_addr_t ip6addr ;
358
-
355
+ #if ESP_IPV6
356
+ LWIP_ERROR ("mld6_joingroup: attempt to join non-multicast address" , ip6_addr_ismulticast (groupaddr ), return ERR_VAL ;);
357
+ #endif
359
358
/* If the address has a particular scope but no zone set, use the netif to
360
359
* set one now. Within the mld6 module, all addresses are properly zoned. */
361
360
if (ip6_addr_lacks_zone (groupaddr , IP6_MULTICAST )) {
You can’t perform that action at this time.
0 commit comments