static struct vlog_rate_limit rl = VLOG_RATE_LIMIT_INIT(1, 5);
f = ft_lookup(new_ft, &flow, hash);
if (!f) {
- VLOG_WARN_RL(&rl, "unexpected flow in flow table");
+ if (!VLOG_DROP_WARN(&rl)) {
+ char *flow_string = flow_to_string(&flow);
+ VLOG_WARN("unexpected flow in flow table: %s",
+ flow_string);
+ free(flow_string);
+ }
f = ftf_create(&flow, &invalid_dst, 1, flowstats_tag);
hmap_insert_fast(&new_ft->flows, &f->node, f->node.hash);
f->tags |= flowstats_tag;