Skip to content

Commit

Permalink
[SQUASH] don't forward link-local multicasts since this would break a…
Browse files Browse the repository at this point in the history
…llot
  • Loading branch information
DipSwitch committed Dec 20, 2015
1 parent 9f907b7 commit 8f4a78b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion sys/net/gnrc/network_layer/ipv6/gnrc_ipv6.c
Original file line number Diff line number Diff line change
Expand Up @@ -693,7 +693,7 @@ static inline bool _pkt_not_for_me(kernel_pid_t *iface, ipv6_hdr_t *hdr)
static inline bool _pkt_none_local_mcast(ipv6_hdr_t *hdr)
{
return (hdr->dst->u8[0] == 0xff) &&
((hdr->dst->u8[1] & 0x0f) >= IPV6_ADDR_MCAST_SCP_LINK_LOCAL);
((hdr->dst->u8[1] & 0x0f) > IPV6_ADDR_MCAST_SCP_LINK_LOCAL);
}

static void _dispatch_rcv_pkt(gnrc_nettype_t type, uint32_t demux_ctx,
Expand Down

0 comments on commit 8f4a78b

Please sign in to comment.