Signed-off-by: Simon Horman <[email protected]>
---
v5
* Initial post
---
lib/ofp-util.c | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/lib/ofp-util.c b/lib/ofp-util.c
index e8d96ff..f430dc3 100644
--- a/lib/ofp-util.c
+++ b/lib/ofp-util.c
@@ -960,6 +960,8 @@ static const struct ofputil_msg_type ofputil_msg_types[] = {
sizeof(struct ofp11_aggregate_stats_reply), 0),
OFPST11_REPLY(OFPST_TABLE, OFPST_TABLE,
0, sizeof(struct ofp11_table_stats)),
+ OFPST11_REPLY(OFPST_PORT, OFPST_PORT,
+ 0, sizeof(struct ofp11_port_stats)),
OFPST11_REPLY(OFPST_PORT_DESC, OFPST_PORT_DESC,
0, sizeof(struct ofp11_port)),
#undef OFPST11_REPLY
@@ -979,6 +981,8 @@ static const struct ofputil_msg_type ofputil_msg_types[] = {
sizeof(struct ofp11_aggregate_stats_reply), 0),
OFPST12_REPLY(OFPST_TABLE, OFPST_TABLE,
0, sizeof(struct ofp12_table_stats)),
+ OFPST12_REPLY(OFPST_PORT, OFPST_PORT,
+ 0, sizeof(struct ofp11_port_stats)),
OFPST12_REPLY(OFPST_PORT_DESC, OFPST_PORT_DESC,
0, sizeof(struct ofp11_port)),
#undef OFPST12_REPLY
--
1.7.10.2.484.gcd07cc5
_______________________________________________
dev mailing list
[email protected]
http://openvswitch.org/mailman/listinfo/dev