From 45984c6a9280a8074c5add3bf1ef3d53eff44444 Mon Sep 17 00:00:00 2001 From: Ben Pfaff Date: Fri, 20 May 2011 16:37:52 -0700 Subject: [PATCH] ofproto: Correctly fill in table_id in NXST_FLOW replies. --- ofproto/ofproto.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c6d91430..141aefbe 100644 --- a/ofproto/ofproto.c +++ b/ofproto/ofproto.c @@ -1903,7 +1903,7 @@ put_nx_flow_stats(struct ofconn *ofconn, struct rule *rule, reply = *replyp; nfs = ofpbuf_put_uninit(reply, sizeof *nfs); - nfs->table_id = 0; + nfs->table_id = rule->table_id; nfs->pad = 0; calc_flow_duration(rule->created, &nfs->duration_sec, &nfs->duration_nsec); nfs->cookie = rule->flow_cookie; -- 2.30.2