int are_target = 0;
/* clients shall not broadcast. */
- if (is_broadcast_ether_addr(vis_packet->target_orig))
+ if (is_bcast(vis_packet->target_orig))
return;
/* Are we the target for this VIS packet? */
ETH_ALEN);
packet->ttl--;
- if (is_broadcast_ether_addr(packet->target_orig))
+ if (is_bcast(packet->target_orig))
broadcast_vis_packet(bat_priv, info);
else
unicast_vis_packet(bat_priv, info);