Reported-by: Paul Greenberg Reported-at: https://github.com/openvswitch/ovs-issues/issues/149 Fixes: c7b02b800615 ("Add support for OpenFlow 1.5 statistics (OXS).") Signed-off-by: Ben Pfaff <[email protected]> --- AUTHORS.rst | 1 + lib/ofp-flow.c | 1 + 2 files changed, 2 insertions(+)
diff --git a/AUTHORS.rst b/AUTHORS.rst index c93d5be5f72c..9c81ad8b5d2d 100644 --- a/AUTHORS.rst +++ b/AUTHORS.rst @@ -533,6 +533,7 @@ Niklas Andersson [email protected] Pankaj Thakkar [email protected] Pasi Kärkkäinen [email protected] Patrik Andersson R [email protected] +Paul Greenberg Paulo Cravero [email protected] Pawan Shukla [email protected] Periyasamy Palanisamy [email protected] diff --git a/lib/ofp-flow.c b/lib/ofp-flow.c index 9fbe8c2e5cb2..4b893ce959d4 100644 --- a/lib/ofp-flow.c +++ b/lib/ofp-flow.c @@ -955,6 +955,7 @@ ofputil_decode_flow_stats_reply(struct ofputil_flow_stats *fs, fs->packet_count = oxs.packet_count; fs->byte_count = oxs.byte_count; fs->idle_age = oxs.idle_age == UINT32_MAX ? -1 : oxs.idle_age; + fs->hard_age = -1; instructions_len = length - sizeof *ofd - padded_match_len - stat_len; } else if (raw == OFPRAW_OFPST11_FLOW_REPLY -- 2.16.1 _______________________________________________ dev mailing list [email protected] https://mail.openvswitch.org/mailman/listinfo/ovs-dev
