Add missing parentheses in check for IPv4 multicast addresses.
This commit is contained in:
parent
099bc56f53
commit
a4d99ebf50
1 changed files with 1 additions and 1 deletions
|
@ -376,7 +376,7 @@ 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 &&
|
||||
|
|
Loading…
Reference in a new issue