At one time (before facets were called facets), the existence of a facet
implied that its parent rule was not idle. This is no longer true, so
remove the check.
Signed-off-by: Ben Pfaff <blp@nicira.com>
if (rule->up.hard_timeout
&& now > rule->up.modified + rule->up.hard_timeout * 1000) {
reason = OFPRR_HARD_TIMEOUT;
- } else if (rule->up.idle_timeout && list_is_empty(&rule->facets)
+ } else if (rule->up.idle_timeout
&& now > rule->up.used + rule->up.idle_timeout * 1000) {
reason = OFPRR_IDLE_TIMEOUT;
} else {