summaryrefslogtreecommitdiff
path: root/ofproto
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2011-05-20 16:37:52 -0700
committerBen Pfaff <blp@nicira.com>2011-06-14 11:21:49 -0700
commit45984c6a9280a8074c5add3bf1ef3d53eff44444 (patch)
treeef9b8f7a08654e584e8e1f5b4c79e2b498145ffc /ofproto
parentb6466afa85a9960f9424089f41c1a6e14009c994 (diff)
downloadopenvswitch-45984c6a9280a8074c5add3bf1ef3d53eff44444.tar.gz
ofproto: Correctly fill in table_id in NXST_FLOW replies.
Diffstat (limited to 'ofproto')
-rw-r--r--ofproto/ofproto.c2
1 files changed, 1 insertions, 1 deletions
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;