mirror of
https://github.com/openvswitch/ovs
synced 2025-08-31 22:35:15 +00:00
tests: Fix sensitivity to record ordering in test-netflow output.
The order of records in a NetFlow message is essentially random, but the test case was picky about it. I started getting failures when I modified apparently unrelated code, so here's a fix. Signed-off-by: Ben Pfaff <blp@nicira.com>
This commit is contained in:
@@ -74,7 +74,7 @@ print_netflow(struct ofpbuf *buf)
|
||||
return;
|
||||
}
|
||||
|
||||
printf("rec: "IP_FMT" > "IP_FMT,
|
||||
printf("seq %"PRIu32": "IP_FMT" > "IP_FMT, ntohl(hdr->flow_seq),
|
||||
IP_ARGS(&rec->src_addr), IP_ARGS(&rec->dst_addr));
|
||||
|
||||
printf(", if %"PRIu16" > %"PRIu16,
|
||||
|
Reference in New Issue
Block a user