mirror of https://github.com/ipxe/ipxe.git
[ethernet] Avoid false positive Coverity warning
Signed-off-by: Michael Brown <mcb30@ipxe.org>pull/94/head
parent
a5c41483d2
commit
f1e6efa40b
|
@ -134,7 +134,7 @@ int eth_pull ( struct net_device *netdev __unused, struct io_buffer *iobuf,
|
|||
* frames, without requiring a full LLC protocol layer.
|
||||
*/
|
||||
if ( eth_is_llc_packet ( ethhdr ) ) {
|
||||
llc_proto = ( ðhdr->h_protocol + 1 );
|
||||
llc_proto = iobuf->data;
|
||||
*net_proto = *llc_proto;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue