Oups
authoralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 14:32:39 +0000 (14:32 +0000)
committeralagoutte <alagoutte@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 21 Apr 2011 14:32:39 +0000 (14:32 +0000)
Wrong fix in Rev36755 (Miss +2)

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

epan/dissectors/packet-l2tp.c

index d72c02ff68181ae720738df0baf30b0c19a78016..9d7beccf64d9a5272789fe4019cab8d7b07d6e87 100644 (file)
@@ -1802,7 +1802,7 @@ dissect_l2tp_udp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
                                if (avp_type == CONTROL_MESSAGE) {
                                        /* We print message type */
-                                       msg_type = tvb_get_ntohs(tvb, tmp_idx);
+                                       msg_type = tvb_get_ntohs(tvb, tmp_idx+2);
                                        col_add_fstr(pinfo->cinfo, COL_INFO,
                                                     "%s - %s (tunnel id=%u, session id=%u)",
                                                     control_msg,