diff --git a/net/ethernet/eth.c b/net/ethernet/eth.c index 35846964082c15217dc0e2e995b6241849ce5c08..0c0d272a9888af29d8c240535d3061377438df3f 100644 --- a/net/ethernet/eth.c +++ b/net/ethernet/eth.c @@ -136,7 +136,7 @@ int eth_rebuild_header(struct sk_buff *skb) default: printk(KERN_DEBUG "%s: unable to resolve type %X addresses.\n", - dev->name, (__force int)eth->h_proto); + dev->name, ntohs(eth->h_proto)); memcpy(eth->h_source, dev->dev_addr, ETH_ALEN); break;