X-Git-Url: https://www.tinc-vpn.org/git/browse?p=tinc;a=blobdiff_plain;f=src%2Froute.c;h=c458ea4f67ee8d9cc06b273381b526fd3607f11a;hp=ec01491cd5f35979f1269c5d2a2c5357ea006c0d;hb=67df7fb7e1c9eefe4bbc920fdc68b595ef28abd9;hpb=b069da90d67b49dce041f513a3855b8da3d82f80 diff --git a/src/route.c b/src/route.c index ec01491c..c458ea4f 100644 --- a/src/route.c +++ b/src/route.c @@ -376,11 +376,11 @@ static void route_ipv4(node_t *source, vpn_packet_t *packet) if(!checklength(source, packet, ether_size + ip_size)) return; - if(((packet->data[30] & 0xf0) == 0xe0) || + if(((packet->data[30] & 0xf0) == 0xe0) || ( packet->data[30] == 255 && packet->data[31] == 255 && packet->data[32] == 255 && - packet->data[33] == 255) + packet->data[33] == 255)) broadcast_packet(source, packet); else route_ipv4_unicast(source, packet);