diff options
author | Pascal Quantin <pascal.quantin@gmail.com> | 2018-02-13 23:34:49 +0100 |
---|---|---|
committer | Pascal Quantin <pascal.quantin@gmail.com> | 2018-02-13 22:37:19 +0000 |
commit | 621d1496d70951bedc19adb1f5a1854ba4fd60ea (patch) | |
tree | c19d32608d655ed8d9cb12efde3cc4e32d748047 /epan | |
parent | 2bff4c197b9bb9c60de37cc036af9cd60a17245a (diff) |
OpenFlow: update openflow_version_values value_string
Change-Id: I0552770981d56c1a530b65e755146ec1314fccd8
Reviewed-on: https://code.wireshark.org/review/25781
Reviewed-by: Pascal Quantin <pascal.quantin@gmail.com>
Diffstat (limited to 'epan')
-rw-r--r-- | epan/dissectors/packet-openflow.c | 11 |
1 files changed, 6 insertions, 5 deletions
diff --git a/epan/dissectors/packet-openflow.c b/epan/dissectors/packet-openflow.c index ed905f2f90..9d5a62796b 100644 --- a/epan/dissectors/packet-openflow.c +++ b/epan/dissectors/packet-openflow.c @@ -50,11 +50,12 @@ static gboolean openflow_desegment = TRUE; #define OFP_VERSION_1_5 6 static const value_string openflow_version_values[] = { - { 0x01, "1.0" }, - { 0x02, "1.1" }, - { 0x03, "1.2" }, - { 0x04, "1.3" }, - { 0x05, "1.4" }, + { OFP_VERSION_1_0, "1.0" }, + { OFP_VERSION_1_1, "1.1" }, + { OFP_VERSION_1_2, "1.2" }, + { OFP_VERSION_1_3, "1.3" }, + { OFP_VERSION_1_4, "1.4" }, + { OFP_VERSION_1_5, "1.5" }, { 0, NULL } }; |