* derivatives without specific, written prior permission.
*/
+#include <config.h>
#include "table.h"
#include <stdlib.h>
#include "flow.h"
LIST_FOR_EACH_SAFE (flow, n, struct sw_flow, node, &tl->flows) {
if (flow_del_matches(&flow->key, key, strict)
- && (strict && (flow->priority == priority))) {
+ && (!strict || (flow->priority == priority))) {
do_delete(flow);
count++;
}