Skip to content

Commit 8811d6f

Browse files
multicast forwarding scope changed and address registration updated. (ARMmbed#1516)
1 parent c277384 commit 8811d6f

File tree

3 files changed

+3
-6
lines changed

3 files changed

+3
-6
lines changed

source/6LoWPAN/Thread/thread_address_registration_client.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -98,10 +98,6 @@ void thread_address_registration_timer(protocol_interface_info_entry_t *interfac
9898
continue;
9999
}
100100

101-
if (addr_ipv6_equal(cur->group, ADDR_SITE_LOCAL_ALL_ROUTERS)) {
102-
continue;
103-
}
104-
105101
if (cur->mld_timer > seconds) {
106102
cur->mld_timer -= seconds;
107103
} else {

source/6LoWPAN/Thread/thread_bbr_api.c

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1064,7 +1064,8 @@ int thread_bbr_start(int8_t interface_id, int8_t backbone_interface_id)
10641064
// Start mdns service
10651065
thread_mdns_start(this->interface_id, this->backbone_interface_id, service_name);
10661066
multicast_fwd_set_proxy_upstream(this->backbone_interface_id);
1067-
multicast_fwd_full_for_scope(this->interface_id, IPV6_SCOPE_SITE_LOCAL);
1067+
multicast_fwd_full_for_scope(this->interface_id, 0);
1068+
multicast_fwd_full_for_scope(this->backbone_interface_id, 0);
10681069
// By default multicast forwarding is not enabled as it causes multicast loops
10691070
multicast_fwd_set_forwarding(this->interface_id, false);
10701071

source/6LoWPAN/Thread/thread_extension_bbr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -886,7 +886,7 @@ static int thread_extension_bbr_pbbr_start(thread_pbbr_t *this)
886886
}
887887
// Allow only filtered addresses to be forwarded
888888
multicast_fwd_full_for_scope(this->interface_id, 0x10);
889-
//multicast_fwd_full_for_scope(this->backbone_interface_id, 0x10);
889+
multicast_fwd_full_for_scope(this->backbone_interface_id, 0);
890890

891891
//Register baseline 1.2 features
892892
coap_service_register_uri(this->coap_service_id, THREAD_URI_BBR_MCAST_LISTENER_REPORT, COAP_SERVICE_ACCESS_POST_ALLOWED, thread_extension_bbr_mlr_cb);

0 commit comments

Comments
 (0)