git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
timeval: Don't issue poll interval warnings when we warp time.
[sliver-openvswitch.git]
/
tests
/
test-netflow.c
diff --git
a/tests/test-netflow.c
b/tests/test-netflow.c
index
85ab5e7
..
5147a20
100644
(file)
--- a/
tests/test-netflow.c
+++ b/
tests/test-netflow.c
@@
-74,8
+74,8
@@
print_netflow(struct ofpbuf *buf)
return;
}
return;
}
- printf("
rec: "IP_FMT" > "IP_FMT
,
- IP_ARGS(
&rec->src_addr), IP_ARGS(&
rec->dst_addr));
+ 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,
ntohs(rec->input), ntohs(rec->output));
printf(", if %"PRIu16" > %"PRIu16,
ntohs(rec->input), ntohs(rec->output));
@@
-137,7
+137,7
@@
print_netflow(struct ofpbuf *buf)
ntohl(rec->init_time), ntohl(rec->used_time));
if (rec->nexthop != htonl(0)) {
ntohl(rec->init_time), ntohl(rec->used_time));
if (rec->nexthop != htonl(0)) {
- printf(", nexthop "IP_FMT, IP_ARGS(
&
rec->nexthop));
+ printf(", nexthop "IP_FMT, IP_ARGS(rec->nexthop));
}
if (rec->src_as != htons(0) || rec->dst_as != htons(0)) {
printf(", AS %"PRIu16" > %"PRIu16,
}
if (rec->src_as != htons(0) || rec->dst_as != htons(0)) {
printf(", AS %"PRIu16" > %"PRIu16,