Wireshark-bugs: [Wireshark-bugs] [Bug 7042] The MSISDN is not seen correctly in GTP packet
Date: Sun, 8 Apr 2012 07:50:41 -0700 (PDT)
https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7042

--- Comment #8 from Pascal Quantin <pascal.quantin@xxxxxxxxx> 2012-04-08 07:50:40 PDT ---
(In reply to comment #7)
> (In reply to comment #6)
> > Hi Jakub,
> > 
> > the output buffer being initialed to "+                ", we do get a ' '
> > displayed for the wrong nibble.
> 
> No, we don't. 
> Both output string are defined 'static' so spaces are initialized only once.

Doh, you are right I missed the static attribute... Thanks for paying attention
!

> > That said I do not like it either and I find the space a bit confusing. Should
> > not we display a '?' (and eventually display an expert info) instead?
> 
> I don't know spec. I thought that you might know that's why I asked :)

According to 3GPP 29.002, MSISDN is a TBCD-STRING that can contain digits from
0 through 9, *, #, a, b, c (+ the filler 0xF).
I'm not sure those special characters (*,#,a,b,c) can really be used for MSISDN
though (would be tempted to say no when looking at 3GPP 23.003).
As there is already a function tvb_bcd_dig_to_ep_str doing the job, it could be
an opportunity to reuse it.

-- 
Configure bugmail: https://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.