X-Git-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=blobdiff_plain;f=tests%2Ftest-flows.c;h=a4649b3f81de1e38202eecaec5454b4cbebf465f;hb=cd10ed7fb4fb5b1e3ed8e3fae1fd115c7ae96e77;hp=be401edf95b5b780116a22993b01dd914da59653;hpb=9200fb9ef9a1c55a76e4c4aa789f3fb0a76f0ed1;p=openvswitch diff --git a/tests/test-flows.c b/tests/test-flows.c index be401edf..a4649b3f 100644 --- a/tests/test-flows.c +++ b/tests/test-flows.c @@ -54,7 +54,7 @@ main(int argc OVS_UNUSED, char *argv[]) while (fread(&expected_match, sizeof expected_match, 1, flows)) { struct ofpbuf *packet; struct ofp_match extracted_match; - flow_t flow; + struct flow flow; n++; @@ -75,6 +75,7 @@ main(int argc OVS_UNUSED, char *argv[]) printf("mismatch on packet #%d (1-based).\n", n); printf("Packet:\n"); ofp_print_packet(stdout, packet->data, packet->size, packet->size); + ovs_hex_dump(stdout, packet->data, packet->size, 0, true); printf("Expected flow:\n%s\n", exp_s); printf("Actually extracted flow:\n%s\n", got_s); printf("\n");