Fix the display of Length and Pad2 in the openflow dissector

Change-Id: I12194d1449812c43c062c50d319d44d6d7437c51
Reviewed-on: https://code.wireshark.org/review/25451
Reviewed-by: Alexis La Goutte <alexis.lagoutte@gmail.com>
Petri-Dish: Alexis La Goutte <alexis.lagoutte@gmail.com>
Tested-by: Petri Dish Buildbot
Reviewed-by: Anders Broman <a.broman58@gmail.com>
This commit is contained in:
Laszlo Papp 2018-01-24 16:03:00 +00:00 committed by Anders Broman
parent ccd2b53f40
commit b3cf908ffe
2 changed files with 4 additions and 4 deletions

View File

@ -6891,7 +6891,7 @@ proto_register_openflow_v5(void)
NULL, HFILL }
},
{ &hf_openflow_v5_port_length,
{ "Pad", "openflow_v5.port.length",
{ "Length", "openflow_v5.port.length",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
@ -6901,7 +6901,7 @@ proto_register_openflow_v5(void)
NULL, HFILL }
},
{ &hf_openflow_v5_port_pad2,
{ "Pad", "openflow_v5.port.pad2",
{ "Pad2", "openflow_v5.port.pad2",
FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},

View File

@ -7026,7 +7026,7 @@ proto_register_openflow_v6(void)
NULL, HFILL }
},
{ &hf_openflow_v6_port_length,
{ "Pad", "openflow_v6.port.length",
{ "Length", "openflow_v6.port.length",
FT_UINT16, BASE_DEC, NULL, 0x0,
NULL, HFILL }
},
@ -7036,7 +7036,7 @@ proto_register_openflow_v6(void)
NULL, HFILL }
},
{ &hf_openflow_v6_port_pad2,
{ "Pad", "openflow_v6.port.pad2",
{ "Pad2", "openflow_v6.port.pad2",
FT_BYTES, BASE_NONE, NULL, 0x0,
NULL, HFILL }
},