Skip to content

Commit

Permalink
ieee802154: log when we drop a frame
Browse files Browse the repository at this point in the history
  • Loading branch information
thvdveld committed Oct 20, 2021
1 parent 6c4ca3f commit fd5366f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions src/iface/interface.rs
Expand Up @@ -1107,6 +1107,10 @@ impl<'a> InterfaceInner<'a> {
&& ieee802154_repr.dst_pan_id != cx.pan_id
&& ieee802154_repr.dst_pan_id != Some(Ieee802154Pan::BROADCAST)
{
net_debug!(
"dropping {:?} because not our PAN id (or not broadcast)",
ieee802154_repr
);
return Ok(None);
}

Expand Down

0 comments on commit fd5366f

Please sign in to comment.