diff options
author | Guy Harris <gharris@sonic.net> | 2020-09-10 23:35:09 -0700 |
---|---|---|
committer | Guy Harris <gharris@sonic.net> | 2020-09-10 23:35:09 -0700 |
commit | e32d2c7a7a04b192f65165d489a210cdee23c902 (patch) | |
tree | 76bc561b2c8123f7db3f3daee2ce133381794121 /epan/dissectors | |
parent | cb810e70036e232308c50dd9296fa6a257468ad9 (diff) |
gvsp: fix type of GenDC signature.
To quote the GenDC 1.1 specification, section 2.2.2 "GenDC Container
Header Description":
Unique signature identifying a GenDC Container: a FourCC code
encoded as 4 ASCII characters not null terminated ...
so it's FT_STRING, not FT_STRINGZ.
Give the URL for a page pointing to all GenICam standards, including the
GenDC standards, version 1.0 and 1.1.
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-gvsp.c | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/epan/dissectors/packet-gvsp.c b/epan/dissectors/packet-gvsp.c index 3d573d5b3f..a5b2d5a379 100644 --- a/epan/dissectors/packet-gvsp.c +++ b/epan/dissectors/packet-gvsp.c @@ -21,6 +21,12 @@ void proto_register_gvsp(void); void proto_reg_handoff_gvsp(void); +/* + * For all GenICam standards, including GenDC 1.0 and 1.1: + * + * https://www.emva.org/standards-technology/genicam/genicam-downloads/ + */ + #define GVSP_MIN_PACKET_SIZE 8 #define GVSP_V2_MIN_PACKET_SIZE 20 #define GVSP_EXTENDED_ID_BIT 0x80 @@ -3208,7 +3214,7 @@ void proto_register_gvsp(void) { &hf_gvsp_gendc_container_header_signature_v2_2, { "Signature", "gvsp.gendc.container.header.signature", - FT_STRINGZ, BASE_NONE, NULL, 0x0, + FT_STRING, BASE_NONE, NULL, 0x0, NULL, HFILL } }, |