From Brian W. Antoine:
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 28 Nov 2007 18:59:37 +0000 (18:59 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Wed, 28 Nov 2007 18:59:37 +0000 (18:59 +0000)
The Packet decoder for CFM has a couple of small bugs.
1) The frame rate for CCM's is wrong for rate=4, it's shown as 1ms and it should be shown as 1s.
2) The flags display for a LTM packet has the wrong title for bit 7.  It should be UseFDBonly, not RDI.

git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@23649 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-cfm.c

index a27ecef898ab726fff207a4958f0ce7a6a0eeaf8..8e19ba4a97b1e08a0aae9977de3bf9b22ba782c6 100644 (file)
@@ -77,7 +77,7 @@ static const value_string CCM_IntervalFieldEncoding[] = {
        { 1, "Trans Int 3.33ms, max Lifetime 11.66ms, min Lifetime 10.83ms" },
        { 2, "Trans Int 10ms, max Lifetime 35ms, min Lifetime 32.5ms" },
        { 3, "Trans Int 100ms, max Lifetime 350ms, min Lifetime 325ms" },
-       { 4, "Trans Int 1ms, max Lifetime 3.5s, min Lifetime 3.25s" },
+       { 4, "Trans Int 1s, max Lifetime 3.5s, min Lifetime 3.25s" },
        { 5, "Trans Int 10s, max Lifetime 35s, min Lifetime 32.5s" },
        { 6, "Trans Int 1min, max Lifetime 3.5min, min Lifetime 3.25min" },
        { 7, "Trans Int 10min, max Lifetime 35min, min Lifetime 32.5min" },
@@ -441,7 +441,7 @@ void proto_register_cfm(void)
                        BASE_NONE, NULL, 0x0, NULL, HFILL       }
                },
                { &hf_cfm_flags_UseFDBonly,
-                       { "RDI", "cfm.flags.usefdbonly", FT_UINT8,
+                       { "UseFDBonly", "cfm.flags.usefdbonly", FT_UINT8,
                        BASE_DEC, NULL, 0x80, NULL, HFILL }
                },
                { &hf_cfm_flags_ltm_Reserved,