diff options
author | Jesse Gross <jesse@nicira.com> | 2009-12-06 21:37:57 -0800 |
---|---|---|
committer | Jesse Gross <jesse@nicira.com> | 2009-12-07 11:10:06 -0800 |
commit | e9e2856e084383b4f93b371dfba8320b51d4cd03 (patch) | |
tree | 86975b8effc5c6d9c6970ae922d0d8e8e1207adb /ofproto/netflow.h | |
parent | 12996ef9bc757c4f86dc298e4680541527e5ed81 (diff) | |
download | openvswitch-e9e2856e084383b4f93b371dfba8320b51d4cd03.tar.gz |
netflow: Correctly set active timeout value.
This fixes a bug originally introduced in commit 763435 "vswitchd:
Initial conversion to database-based configuration." The bug
reversed a less than operator when setting the active timeout field.
Also add a warning if the timeout is set to an invalid value.
CC: Glen Gibb <grg@stanford.edu>
Diffstat (limited to 'ofproto/netflow.h')
-rw-r--r-- | ofproto/netflow.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ofproto/netflow.h b/ofproto/netflow.h index cc7b96057..7f48ddda9 100644 --- a/ofproto/netflow.h +++ b/ofproto/netflow.h @@ -20,6 +20,8 @@ #include "flow.h" #include "svec.h" +static const int NF_ACTIVE_TIMEOUT_DEFAULT = 600; + struct ofexpired; struct netflow_options { |