mirror of https://github.com/ipxe/ipxe.git
Fix compiler warning
parent
b91b9d3d88
commit
718294553b
|
@ -414,9 +414,8 @@ static int ipv4_rx ( struct pk_buff *pkb, struct net_device *netdev __unused,
|
||||||
DBG ( "Bad checksum %x\n", chksum );
|
DBG ( "Bad checksum %x\n", chksum );
|
||||||
}
|
}
|
||||||
/* Fragment reassembly */
|
/* Fragment reassembly */
|
||||||
if ( iphdr->frags & IP_MASK_MOREFRAGS ||
|
if ( ( iphdr->frags & IP_MASK_MOREFRAGS ) ||
|
||||||
( !iphdr->frags & IP_MASK_MOREFRAGS &&
|
( ( iphdr->frags & IP_MASK_OFFSET ) != 0 ) ) {
|
||||||
iphdr->frags & IP_MASK_OFFSET != 0 ) ) {
|
|
||||||
/* Pass the fragment to the reassembler ipv4_ressable() which
|
/* Pass the fragment to the reassembler ipv4_ressable() which
|
||||||
* either returns a fully reassembled packet buffer or NULL.
|
* either returns a fully reassembled packet buffer or NULL.
|
||||||
*/
|
*/
|
||||||
|
|
Loading…
Reference in New Issue