diff options
author | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-05-04 10:19:32 +0000 |
---|---|---|
committer | Ronnie Sahlberg <ronnie_sahlberg@ozemail.com.au> | 2006-05-04 10:19:32 +0000 |
commit | 5a8a9702fef8d587d93db6f3d416207aa8372215 (patch) | |
tree | cd20a009fe571e097fd00beacae4431ace4a7066 /asn1 | |
parent | ac1721573d1c86ec49e6a5a20ee1a1d7a1f5257b (diff) | |
download | wireshark-5a8a9702fef8d587d93db6f3d416207aa8372215.tar.gz wireshark-5a8a9702fef8d587d93db6f3d416207aa8372215.tar.bz2 wireshark-5a8a9702fef8d587d93db6f3d416207aa8372215.zip |
force the AssertionValue type to be displayed as a STRING instead of as hex BYTES.
Most of the time AssertionValue will contain an ascii string so make it always display as a string to make the display "correct" most of the time insterad of being "wrong" most of the time.
There are situations when AssertionValue contains binary data though and in those cases the display will be "wrong" (but not more wrong than the old dissector anyway)
What someone really should do (someone interested in ldap that is) to make it more correct would be to implement a dissector for AssertionValue in the template file and having the dissector check if any of the bytes of the octet string has a value <32 and if so display it in hex as 0x.....
It all bytes have values >=32 then it shoudlk display it as a string "...
instead.
Someone interested in ldap may spend time on this refinement.
svn path=/trunk/; revision=18089
Diffstat (limited to 'asn1')
-rw-r--r-- | asn1/ldap/ldap.cnf | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/asn1/ldap/ldap.cnf b/asn1/ldap/ldap.cnf index 81e41ac225..fab58b3334 100644 --- a/asn1/ldap/ldap.cnf +++ b/asn1/ldap/ldap.cnf @@ -26,6 +26,7 @@ LDAPString TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL LDAPURL TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL LDAPOID TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL Mechanism TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL +AssertionValue TYPE = FT_STRING DISPLAY = BASE_NONE STRINGS = NULL #.FN_PARS LDAPOID VAL_PTR = ¶meter_tvb #.FN_HDR LDAPOID |