netflow: Correctly set active timeout value.
authorJesse Gross <jesse@nicira.com>
Mon, 7 Dec 2009 05:37:57 +0000 (21:37 -0800)
committerJesse Gross <jesse@nicira.com>
Mon, 7 Dec 2009 19:10:06 +0000 (11:10 -0800)
commite9e2856e084383b4f93b371dfba8320b51d4cd03
tree86975b8effc5c6d9c6970ae922d0d8e8e1207adb
parent12996ef9bc757c4f86dc298e4680541527e5ed81
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>
ofproto/netflow.c
ofproto/netflow.h
vswitchd/bridge.c