From: Ben Pfaff Date: Fri, 20 May 2011 23:37:52 +0000 (-0700) Subject: ofproto: Correctly fill in table_id in NXST_FLOW replies. X-Git-Tag: v1.2.0~211 X-Git-Url: http://git.onelab.eu/?a=commitdiff_plain;h=45984c6a9280a8074c5add3bf1ef3d53eff44444;p=sliver-openvswitch.git ofproto: Correctly fill in table_id in NXST_FLOW replies. --- diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c index c6d914304..141aefbee 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;