diff options
author | Patrick McHardy <kaber@trash.net> | 2014-08-19 00:21:59 +0100 |
---|---|---|
committer | Patrick McHardy <kaber@trash.net> | 2014-08-19 00:21:59 +0100 |
commit | 4b2834b7e2334e30352fc1126577df217f351cd5 (patch) | |
tree | f2605cbb9dde9ff0315817fa6ee1f35ac8f6c856 /src/cli.c | |
parent | e2f4485e653c6c9aed7c98564ec3cfd233a49d59 (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/cli.c')
0 files changed, 0 insertions, 0 deletions