mirror of
https://github.com/espressif/openthread.git
synced 2026-07-30 15:47:46 +00:00
Limit MPL forwarding to Thread Routers. (#996)
This commit is contained in:
@@ -68,6 +68,11 @@ Message *Ip6::NewMessage(uint16_t reserved)
|
||||
return mMessagePool.New(Message::kTypeIp6, sizeof(Header) + sizeof(HopByHopHeader) + sizeof(OptionMpl) + reserved);
|
||||
}
|
||||
|
||||
bool Ip6::IsForwardingEnabled(void)
|
||||
{
|
||||
return mForwardingEnabled;
|
||||
}
|
||||
|
||||
void Ip6::SetForwardingEnabled(bool aEnable)
|
||||
{
|
||||
mForwardingEnabled = aEnable;
|
||||
|
||||
Reference in New Issue
Block a user