Fix for bug 1523. Offset handling was off in DialedNumberMessage presentation.
authorjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 5 Apr 2007 23:42:44 +0000 (23:42 +0000)
committerjake <jake@f5534014-38df-0310-8fa8-9805f1628bb7>
Thu, 5 Apr 2007 23:42:44 +0000 (23:42 +0000)
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@21343 f5534014-38df-0310-8fa8-9805f1628bb7

epan/dissectors/packet-skinny.c

index 14c97f42a76611e58a172fec6d65c272224e0490..f1be28b56fc87d5dc39db984532e1d7fb2520d5f 100644 (file)
@@ -2140,8 +2140,8 @@ dissect_skinny_pdu(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
     case 0x11D : /* DialedNumberMessage */
       proto_tree_add_item(skinny_tree, hf_skinny_calledParty, tvb, offset+12, StationMaxDirnumSize, TRUE);
-      proto_tree_add_item(skinny_tree, hf_skinny_lineInstance, tvb, offset+16+StationMaxDirnumSize, 4, TRUE);
-      proto_tree_add_item(skinny_tree, hf_skinny_callIdentifier, tvb, offset+20+StationMaxDirnumSize, 4, TRUE);
+      proto_tree_add_item(skinny_tree, hf_skinny_lineInstance, tvb, offset+12+StationMaxDirnumSize, 4, TRUE);
+      proto_tree_add_item(skinny_tree, hf_skinny_callIdentifier, tvb, offset+12+StationMaxDirnumSize+4, 4, TRUE);
       break;
 
     case 0x11E : /* UserToDeviceDataMessage */