Skip to content

Commit ad1e187

Browse files
committed
net: l2: openthread: border_router: Delete multicast route by iface
This commit makes use of zephyrproject-rtos#98464 and deletes a multicast route by specified interface. Signed-off-by: Cristian Bulacu <cristian.bulacu@nxp.com>
1 parent d054025 commit ad1e187

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

subsys/net/l2/openthread/openthread_border_router.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -297,7 +297,7 @@ static void ot_bbr_multicast_listener_handler(void *context,
297297
}
298298
}
299299
} else {
300-
struct net_route_entry_mcast *route_to_del = net_route_mcast_lookup(&recv_addr);
300+
struct net_route_entry_mcast *route_to_del = net_route_mcast_lookup_by_iface(&recv_addr, ot_context->iface);
301301
struct net_if_mcast_addr *addr_to_del;
302302

303303
addr_to_del = net_if_ipv6_maddr_lookup(&recv_addr, &(ot_context->iface));

0 commit comments

Comments
 (0)