projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
ethernet: print protocol in host byte order
[cascardo/linux.git]
/
net
/
ethernet
/
eth.c
diff --git
a/net/ethernet/eth.c
b/net/ethernet/eth.c
index
3584696
..
0c0d272
100644
(file)
--- 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;