summaryrefslogtreecommitdiff
path: root/cesar/lib/test
diff options
context:
space:
mode:
authorYacine Belkadi2012-06-12 15:01:39 +0200
committerYacine Belkadi2012-09-07 15:21:54 +0200
commite1a4682d5a2bc137c96c7acd290f9ae6dc1c1a98 (patch)
treec0d9c5be26ac32566a74dc38e003afbff1df7935 /cesar/lib/test
parent99cf797d2782aea5429c5e9c8f11a666e882bab8 (diff)
cesar/lib/seq_check: fix IP ethertype
Diffstat (limited to 'cesar/lib/test')
-rw-r--r--cesar/lib/test/seq_check/src/seq_check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/cesar/lib/test/seq_check/src/seq_check.c b/cesar/lib/test/seq_check/src/seq_check.c
index 574f98f017..a7d128ffba 100644
--- a/cesar/lib/test/seq_check/src/seq_check.c
+++ b/cesar/lib/test/seq_check/src/seq_check.c
@@ -233,12 +233,12 @@ main (int argc, char **argv)
lib_seq_check_config_get (&conf);
test_fail_if (conf.seq_size != 16);
test_fail_if (conf.seq_pos != 44);
- test_fail_if (conf.ethertype != 0x8000);
+ test_fail_if (conf.ethertype != 0x0800);
} test_end;
test_case_begin (test, "IPerf");
/* Iperf position is at 44 and we check only IP packet. */
- test_seq_check_packet (test, &rnd, 44, 0x8000);
+ test_seq_check_packet (test, &rnd, 44, 0x0800);
test_case_begin (test, "Other");
/* Iperf position is at 44 and we check only IP packet. */