Use [hi|lo]_nibble macros, leave room in str[] for invalid BCD digits to be
authorcmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 20 Apr 2011 20:12:40 +0000 (20:12 +0000)
committercmaynard <cmaynard@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 20 Apr 2011 20:12:40 +0000 (20:12 +0000)
commit8a51d27824fef5099a3d508f81caa3a6c6ceee7c
tree8f2546dca9b67d5593c667a725b503f9ce7581b0
parentcb037f756a1a6b446116837b94ea21c9053099f8
Use [hi|lo]_nibble macros, leave room in str[] for invalid BCD digits to be
displayed as blanks.  Since imsi_to_str() and ip_to_str() do the same thing,
just have imsi_to_str() call ip_to_str() rather than having two different
implementations of the same thing.  Use a BCD2CHAR macro instead of doing a
table lookup.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@36740 f5534014-38df-0310-8fa8-9805f1628bb7
epan/dissectors/packet-gtp.c