diff options
author | Flavio Leitner <fbl@redhat.com> | 2015-04-10 11:07:50 -0300 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2015-04-10 08:45:45 -0700 |
commit | 2f86335b8a143a475ab44492ca18927876e36a0c (patch) | |
tree | f763f877e2ab4ef73997ca415318c9abec44c29e /tutorial | |
parent | abcf3ef4c3f75963f46a11501685363e3ceb7c0e (diff) | |
download | openvswitch-2f86335b8a143a475ab44492ca18927876e36a0c.tar.gz |
test-csum: endianess fix
The math is done in network byte order so the 32 bits won't
match between big and little endian, so the assert fails.
Reduce to 16 bits and then compare to the converted constant.
Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
Diffstat (limited to 'tutorial')
0 files changed, 0 insertions, 0 deletions