tests: gre: fix flags endianness
authorFlavio Leitner <fbl@redhat.com>
Fri, 10 Apr 2015 14:08:10 +0000 (11:08 -0300)
committerJesse Gross <jesse@nicira.com>
Fri, 10 Apr 2015 15:54:41 +0000 (08:54 -0700)
commite8fe6ad03aa3d25b5ae99190d5aa065705a1b3c8
treedb4057bdda3e61649679dd107b25fbb6e3bb40e6
parent2f86335b8a143a475ab44492ca18927876e36a0c
tests: gre: fix flags endianness

The flags field is 16 bits so use network byte order in the
test case and use the proper conversion methods when parsing
and dumping.

Signed-off-by: Flavio Leitner <fbl@redhat.com>
Signed-off-by: Jesse Gross <jesse@nicira.com>
lib/odp-util.c
tests/odp.at
tests/tunnel-push-pop.at