Wireshark-bugs: [Wireshark-bugs] [Bug 2057] New: ansi_map -> pstn parameter
Date: Sun, 2 Dec 2007 11:30:26 +0000 (GMT)
http://bugs.wireshark.org/bugzilla/show_bug.cgi?id=2057

           Summary: ansi_map -> pstn parameter
           Product: Wireshark
           Version: 0.99.6
          Platform: PC
        OS/Version: All
            Status: NEW
          Severity: Major
          Priority: Low
         Component: Wireshark
        AssignedTo: wireshark-bugs@xxxxxxxxxxxxx
        ReportedBy: shmulik.bezalel@xxxxxxxxx


Build Information:
Paste the COMPLETE build information from "Help->About Wireshark", "wireshark
-v", or "tshark -v".
--
in epan\dissectors\packet-ansi_map.c -> in termination list parameter , pstn
parameter should be 95 and not 71 ( line 7344 and line 7351)

{  71, "pstnTermination" }
SHOULD BE:
{  95, "pstnTermination" }

{  71, &hf_ansi_map_pstnTermination, BER_CLASS_CON, 71, BER_FLAGS_IMPLTAG,
dissect_ansi_map_PSTNTermination },
SHOULD BE:
{  95, &hf_ansi_map_pstnTermination, BER_CLASS_CON, 95, BER_FLAGS_IMPLTAG,
dissect_ansi_map_PSTNTermination }, 



in asn1/ansi_map/ansi_map.asn
-- 6.5.2.156
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 0 0 (0x78)(120)
TerminationList ::= SET OF CHOICE {
        intersystemTermination  [89] IMPLICIT IntersystemTermination,
        -- O 6.5.2.74 b, c, d
        localTermination                [91] IMPLICIT LocalTermination,
        -- O 6.5.2.76 b, c, e
        pstnTermination                 [71] IMPLICIT PSTNTermination,
        -- O 6.5.2.98 b, c, f
        ...
        }

SHULD BE 
-- 6.5.2.156
-- 1 0 1 1 1 1 1 1 (0x9f)
-- 0 1 1 1 1 0 0 0 (0x78)(120)
TerminationList ::= SET OF CHOICE {
        intersystemTermination  [89] IMPLICIT IntersystemTermination,
        -- O 6.5.2.74 b, c, d
        localTermination                [91] IMPLICIT LocalTermination,
        -- O 6.5.2.76 b, c, e
        pstnTermination                 [95] IMPLICIT PSTNTermination,
        -- O 6.5.2.98 b, c, f
        ...
        }


-- 
Configure bugmail: http://bugs.wireshark.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.