diff options
author | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-04-28 09:54:03 +0000 |
---|---|---|
committer | Tomas Kukosa <tomas.kukosa@siemens.com> | 2005-04-28 09:54:03 +0000 |
commit | 46a168734a09508cf3c71aad06c0d2886af0af6b (patch) | |
tree | 07157c80b664e5988ce1325555ce983bdefdf4e1 /epan/dissectors/packet-ber.h | |
parent | 3be38ac077d2ac85edc14df5c493a41accb7f5d1 (diff) |
Usage of oid_to_str() in PER and BER helpers
svn path=/trunk/; revision=14217
Diffstat (limited to 'epan/dissectors/packet-ber.h')
-rw-r--r-- | epan/dissectors/packet-ber.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/epan/dissectors/packet-ber.h b/epan/dissectors/packet-ber.h index 333e95bdf0..70938f01b7 100644 --- a/epan/dissectors/packet-ber.h +++ b/epan/dissectors/packet-ber.h @@ -26,6 +26,8 @@ #ifndef __PACKET_BER_H__ #define __PACKET_BER_H__ +#include <epan/to_str.h> + #define BER_NOT_DECODED_YET(x) \ proto_tree_add_text(tree, tvb, offset, 0, "something unknown here [%s]",x); \ fprintf(stderr,"Not decoded yet in packet : %d [%s]\n", pinfo->fd->num,x); \ @@ -71,7 +73,7 @@ typedef int (*ber_callback)(packet_info *pinfo, proto_tree *tree, tvbuff_t *tvb, #define BER_UNI_TAG_CHARACTERSTRING 29 #define BER_UNI_TAG_BMPString 30 -#define BER_MAX_OID_STR_LEN 256 +#define BER_MAX_OID_STR_LEN MAX_OID_STR_LEN /* this function dissects the identifier octer of the BER TLV. * We only handle TAGs (and LENGTHs) that fit inside 32 bit integers. |