Skip to content
Commit 37135173 authored by Antonio Quartulli's avatar Antonio Quartulli
Browse files

batman-adv: change interface_rx to get orig node



In order to understand  where a broadcast packet is coming from and use
this information to detect not yet announced clients, this patch modifies the
interface_rx() function by passing a new argument: the orig node
corresponding to the node that originated the received packet (if known).
This new argument if not NULL for broadcast packets only (other packets does not
have source field).

Signed-off-by: default avatarAntonio Quartulli <ordex@autistici.org>
parent 30cfd02b
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment