diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-18 21:30:42 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2009-06-18 21:30:42 +0000 |
commit | b228488bc0b9d5e0c63b15814836f7332f35ce04 (patch) | |
tree | 62ba2a1b91519fc94d9c3213b328889b969e0c78 /epan/dissectors/packet-t125.c | |
parent | dec6ea57aefdcebc4bacd3934606ad0d78da446e (diff) |
From Kovarththanan Rajaratnam via bug 3548:
(1) Trailing/leading spaces are removed from 'name's/'blurb's
(2) Duplicate 'blurb's are replaced with NULL
(3) Empty ("") 'blurb's are replaced with NULL
(4) BASE_NONE, NULL, 0x0 are used for 'display', 'strings' and 'bitmask' fields
for FT_NONE, FT_BYTES, FT_IPv4, FT_IPv6, FT_ABSOLUTE_TIME, FT_RELATIVE_TIME,
FT_PROTOCOL, FT_STRING and FT_STRINGZ field types
(5) Only allow non-zero value for 'display' if 'bitmask' is non-zero
svn path=/trunk/; revision=28770
Diffstat (limited to 'epan/dissectors/packet-t125.c')
-rw-r--r-- | epan/dissectors/packet-t125.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/epan/dissectors/packet-t125.c b/epan/dissectors/packet-t125.c index c959d98b6d..12eb324548 100644 --- a/epan/dissectors/packet-t125.c +++ b/epan/dissectors/packet-t125.c @@ -2205,15 +2205,15 @@ void proto_register_t125(void) { "t125.INTEGER_0_MAX", HFILL }}, { &hf_t125_callingDomainSelector, { "callingDomainSelector", "t125.callingDomainSelector", - FT_BYTES, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, "t125.OCTET_STRING", HFILL }}, { &hf_t125_calledDomainSelector, { "calledDomainSelector", "t125.calledDomainSelector", - FT_BYTES, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, "t125.OCTET_STRING", HFILL }}, { &hf_t125_upwardFlag, { "upwardFlag", "t125.upwardFlag", - FT_BOOLEAN, 8, NULL, 0, + FT_BOOLEAN, BASE_NONE, NULL, 0x0, "t125.BOOLEAN", HFILL }}, { &hf_t125_targetParameters, { "targetParameters", "t125.targetParameters", @@ -2229,7 +2229,7 @@ void proto_register_t125(void) { "t125.DomainParameters", HFILL }}, { &hf_t125_userData, { "userData", "t125.userData", - FT_BYTES, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, "t125.OCTET_STRING", HFILL }}, { &hf_t125_result, { "result", "t125.result", @@ -2273,7 +2273,7 @@ void proto_register_t125(void) { "t125.T_userId", HFILL }}, { &hf_t125_joined, { "joined", "t125.joined", - FT_BOOLEAN, 8, NULL, 0, + FT_BOOLEAN, BASE_NONE, NULL, 0x0, "t125.BOOLEAN", HFILL }}, { &hf_t125_userId_01, { "userId", "t125.userId", @@ -2397,7 +2397,7 @@ void proto_register_t125(void) { "t125.Diagnostic", HFILL }}, { &hf_t125_initialOctets, { "initialOctets", "t125.initialOctets", - FT_BYTES, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, "t125.OCTET_STRING", HFILL }}, { &hf_t125_initiator, { "initiator", "t125.initiator", @@ -2429,7 +2429,7 @@ void proto_register_t125(void) { "t125.ChannelId", HFILL }}, { &hf_t125_segmentation, { "segmentation", "t125.segmentation", - FT_BYTES, BASE_HEX, NULL, 0, + FT_BYTES, BASE_NONE, NULL, 0, "t125.Segmentation", HFILL }}, { &hf_t125_tokenStatus, { "tokenStatus", "t125.tokenStatus", @@ -2626,11 +2626,11 @@ void proto_register_t125(void) { { &hf_t125_Segmentation_begin, { "begin", "t125.begin", FT_BOOLEAN, 8, NULL, 0x80, - "", HFILL }}, + NULL, HFILL }}, { &hf_t125_Segmentation_end, { "end", "t125.end", FT_BOOLEAN, 8, NULL, 0x40, - "", HFILL }}, + NULL, HFILL }}, /*--- End of included file: packet-t125-hfarr.c ---*/ #line 95 "packet-t125-template.c" |