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-Url: https://pintos-os.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=45984c6a9280a8074c5add3bf1ef3d53eff44444;p=openvswitch ofproto: Correctly fill in table_id in NXST_FLOW replies. --- 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;