[ovs-dev] [pre-async 1/8] ofproto: Correctly fill in table_id in NXST_FLOW replies.
Ben Pfaff
blp at nicira.com
Tue May 24 23:25:13 UTC 2011
---
ofproto/ofproto.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/ofproto/ofproto.c b/ofproto/ofproto.c
index 4c370d3..263c318 100644
--- a/ofproto/ofproto.c
+++ b/ofproto/ofproto.c
@@ -1894,7 +1894,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;
--
1.7.4.4
More information about the dev
mailing list