From 1982369e8e87f04ee790fbc842b77ef73e0326d7 Mon Sep 17 00:00:00 2001 From: Glen Gibb Date: Thu, 8 Jul 2010 13:41:24 -0700 Subject: [PATCH] wireshark: correct dissect table stats replies Table stats replies were not dissected correctly. Problem was introduced when the number of wildcard fields was increased by one -- the list of wildcards wasn't updated correctly for the table stats reply. --- utilities/wireshark_dissectors/openflow/packet-openflow.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/utilities/wireshark_dissectors/openflow/packet-openflow.c b/utilities/wireshark_dissectors/openflow/packet-openflow.c index d23d6c4..92b4211 100644 --- a/utilities/wireshark_dissectors/openflow/packet-openflow.c +++ b/utilities/wireshark_dissectors/openflow/packet-openflow.c @@ -1141,6 +1141,9 @@ void proto_register_openflow() { &ofp_table_stats_wildcards[10], { " VLAN priority", "of.wildcard_dl_vlan_pcp" , FT_UINT32, BASE_DEC, VALS(ts_wildcard_choice), OFPFW_DL_VLAN_PCP, "VLAN priority", HFILL }}, + { &ofp_table_stats_wildcards[11], + { " IPv4 DSCP", "of.wildcard_nw_tos" , FT_UINT32, BASE_DEC, VALS(ts_wildcard_choice), OFPFW_NW_TOS, "IPv4 DSCP", HFILL }}, + { &ofp_match_in_port, { "Input Port", "of.match_in_port", FT_STRING, BASE_NONE, NO_STRINGS, NO_MASK, "Input Port", HFILL }},