Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 349285
b: refs/heads/master
c: 757dd82
h: refs/heads/master
i:
  349283: 4c98846
v: v3
  • Loading branch information
Matthias Schiffer authored and Antonio Quartulli committed Jan 27, 2013
1 parent aa2a050 commit 3bc0306
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 0d15becee56fdfc2e9a4374c46ea7cf7562a6f32
refs/heads/master: 757dd82ea7008ddaccfecff3397bec3e3203a89e
4 changes: 3 additions & 1 deletion trunk/net/batman-adv/distributed-arp-table.c
Original file line number Diff line number Diff line change
Expand Up @@ -777,7 +777,9 @@ static uint16_t batadv_arp_get_type(struct batadv_priv *bat_priv,
ip_src = batadv_arp_ip_src(skb, hdr_size);
ip_dst = batadv_arp_ip_dst(skb, hdr_size);
if (ipv4_is_loopback(ip_src) || ipv4_is_multicast(ip_src) ||
ipv4_is_loopback(ip_dst) || ipv4_is_multicast(ip_dst))
ipv4_is_loopback(ip_dst) || ipv4_is_multicast(ip_dst) ||
ipv4_is_zeronet(ip_src) || ipv4_is_lbcast(ip_src) ||
ipv4_is_zeronet(ip_dst) || ipv4_is_lbcast(ip_dst))
goto out;

type = ntohs(arphdr->ar_op);
Expand Down

0 comments on commit 3bc0306

Please sign in to comment.