projects
/
openvswitch
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c1546e0
)
ofproto: Fix reversed inequality test.
author
Ben Pfaff
<blp@nicira.com>
Mon, 7 Dec 2009 17:25:32 +0000
(09:25 -0800)
committer
Ben Pfaff
<blp@nicira.com>
Mon, 7 Dec 2009 17:26:00 +0000
(09:26 -0800)
Thanks to Glen Gibb <grg@stanford.edu> for pointing out the problem.
ofproto/netflow.c
patch
|
blob
|
history
diff --git
a/ofproto/netflow.c
b/ofproto/netflow.c
index 2c7ae9e43ec564367c60beaacabd0062fff29b28..b016663867419db61caa8a7ec144f14c6ad6e8e9 100644
(file)
--- a/
ofproto/netflow.c
+++ b/
ofproto/netflow.c
@@
-210,7
+210,7
@@
netflow_set_options(struct netflow *nf,
collectors_create(&nf_options->collectors, 0, &nf->collectors);
old_timeout = nf->active_timeout;
- if (nf_options->active_timeout
<
0) {
+ if (nf_options->active_timeout
>
0) {
nf->active_timeout = nf_options->active_timeout;
} else {
nf->active_timeout = ACTIVE_TIMEOUT_DEFAULT;