Nanostack Border Router is a generic mbed border router implementation that provides the 6LoWPAN ND or Thread border router initialization logic.
Diff: source/thread_br_conn_handler.c
- Revision:
- 20:918e62713e63
- Parent:
- 4:0a9d1eeaa905
- Child:
- 21:3754f30e7b69
--- a/source/thread_br_conn_handler.c Tue Jun 13 12:00:17 2017 +0100 +++ b/source/thread_br_conn_handler.c Fri Jun 16 06:45:17 2017 +0100 @@ -12,6 +12,7 @@ #include "common_functions.h" #include "eventOS_event_timer.h" #include "thread_bbr_ext.h" +#include "multicast_api.h" #define TRACE_GROUP "TBRH" #define DHCP_SERVER_SHUTDOWN_TIMEOUT (100) @@ -127,6 +128,14 @@ thread_br_conn_handler_border_router_shutdown_request(); thread_border_router_mdns_responder_stop(); } + +#ifndef MBED_CONF_APP_BACKHAUL_MLD +#define MBED_CONF_APP_BACKHAUL_MLD true +#endif +#if (MBED_CONF_APP_BACKHAUL_MLD == true) + tr_debug("Configuring MLD proxying to upstream (interface_id = %d)", thread_br_handler.eth_interface_id); + multicast_fwd_set_proxy_upstream(thread_br_handler.eth_interface_id); +#endif } void thread_br_conn_handler_eth_ready()