aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-h501.c
diff options
context:
space:
mode:
authorStig Bjørlykke <stig@bjorlykke.org>2009-06-18 21:30:42 +0000
committerStig Bjørlykke <stig@bjorlykke.org>2009-06-18 21:30:42 +0000
commitb228488bc0b9d5e0c63b15814836f7332f35ce04 (patch)
tree62ba2a1b91519fc94d9c3213b328889b969e0c78 /epan/dissectors/packet-h501.c
parentdec6ea57aefdcebc4bacd3934606ad0d78da446e (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-h501.c')
-rw-r--r--epan/dissectors/packet-h501.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/epan/dissectors/packet-h501.c b/epan/dissectors/packet-h501.c
index d19071b0a4..96d12483e3 100644
--- a/epan/dissectors/packet-h501.c
+++ b/epan/dissectors/packet-h501.c
@@ -3006,7 +3006,7 @@ void proto_register_h501(void) {
"h501.AddressTemplate", HFILL }},
{ &hf_h501_partialResponse,
{ "partialResponse", "h501.partialResponse",
- FT_BOOLEAN, 8, NULL, 0,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"h501.BOOLEAN", HFILL }},
{ &hf_h501_supportedProtocols,
{ "supportedProtocols", "h501.supportedProtocols",
@@ -3106,7 +3106,7 @@ void proto_register_h501(void) {
"h501.OBJECT_IDENTIFIER", HFILL }},
{ &hf_h501_value,
{ "value", "h501.value",
- FT_BYTES, BASE_HEX, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"h501.OCTET_STRING", HFILL }},
{ &hf_h501_invalidCall,
{ "invalidCall", "h501.invalidCall",
@@ -3166,7 +3166,7 @@ void proto_register_h501(void) {
"h501.NULL", HFILL }},
{ &hf_h501_unknownMessage,
{ "unknownMessage", "h501.unknownMessage",
- FT_BYTES, BASE_HEX, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"h501.OCTET_STRING", HFILL }},
{ &hf_h501_reason_09,
{ "reason", "h501.reason",
@@ -3178,7 +3178,7 @@ void proto_register_h501(void) {
"h501.NULL", HFILL }},
{ &hf_h501_applicationMessage,
{ "applicationMessage", "h501.applicationMessage",
- FT_BYTES, BASE_HEX, NULL, 0,
+ FT_BYTES, BASE_NONE, NULL, 0,
"h501.ApplicationMessage", HFILL }},
{ &hf_h501_reason_10,
{ "reason", "h501.reason",
@@ -3262,7 +3262,7 @@ void proto_register_h501(void) {
"h501.NULL", HFILL }},
{ &hf_h501_callSpecific,
{ "callSpecific", "h501.callSpecific",
- FT_BOOLEAN, 8, NULL, 0,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"h501.BOOLEAN", HFILL }},
{ &hf_h501_priceInfo,
{ "priceInfo", "h501.priceInfo",
@@ -3318,7 +3318,7 @@ void proto_register_h501(void) {
"h501.SecurityMode", HFILL }},
{ &hf_h501_multipleCalls,
{ "multipleCalls", "h501.multipleCalls",
- FT_BOOLEAN, 8, NULL, 0,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"h501.BOOLEAN", HFILL }},
{ &hf_h501_currency,
{ "currency", "h501.currency",
@@ -3414,7 +3414,7 @@ void proto_register_h501(void) {
"h501.AlternatePE", HFILL }},
{ &hf_h501_alternateIsPermanent,
{ "alternateIsPermanent", "h501.alternateIsPermanent",
- FT_BOOLEAN, 8, NULL, 0,
+ FT_BOOLEAN, BASE_NONE, NULL, 0x0,
"h501.BOOLEAN", HFILL }},
{ &hf_h501_contactAddress,
{ "contactAddress", "h501.contactAddress",