summaryrefslogtreecommitdiffstats
path: root/src/datatype.c
diff options
context:
space:
mode:
authorPatrick McHardy <kaber@trash.net>2014-08-19 00:21:59 +0100
committerPatrick McHardy <kaber@trash.net>2014-08-19 00:21:59 +0100
commit4b2834b7e2334e30352fc1126577df217f351cd5 (patch)
treef2605cbb9dde9ff0315817fa6ee1f35ac8f6c856 /src/datatype.c
parente2f4485e653c6c9aed7c98564ec3cfd233a49d59 (diff)
proto: fix byteorder of ETH_P_* values
The ethernet header type is in big endian byte order, the ETH_P_* values are in host byte order however. Fix this using __constant_htons(). Signed-off-by: Patrick McHardy <kaber@trash.net>
Diffstat (limited to 'src/datatype.c')
0 files changed, 0 insertions, 0 deletions