From Jeff Morriss: dissect the MTP3 routing label regardless of whether
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 29 Feb 2004 08:30:10 +0000 (08:30 +0000)
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>
Sun, 29 Feb 2004 08:30:10 +0000 (08:30 +0000)
we're building a protocol tree, so that the source and destination
addresses are set.

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

packet-mtp3.c

index 9b22c2ebd1b4ce2888bf9591c1fcffdde56a6c0d..5909d92032d179b7af7d57e6eafa8ee625006771 100644 (file)
@@ -9,7 +9,7 @@
  * Copyright 2001, Michael Tuexen <tuexen [AT] fh-muenster.de>
  * Updated for ANSI and Chinese ITU support by Jeff Morriss <jeff.morriss[AT]ulticom.com>
  *
- * $Id: packet-mtp3.c,v 1.25 2004/02/26 09:48:27 guy Exp $
+ * $Id: packet-mtp3.c,v 1.26 2004/02/29 08:30:10 guy Exp $
  *
  * Ethereal - Network traffic analyzer
  * By Gerald Combs <gerald@ethereal.com>
@@ -491,10 +491,10 @@ dissect_mtp3(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree)
 
   }
 
-  /* Dissect the packet (even if !tree so can call sub-dissectors) */
+  /* Dissect the packet (even if !tree so can call sub-dissectors and update
+   * the source and destination address columns) */
   dissect_mtp3_sio(tvb, pinfo, mtp3_tree);
-  if (tree)
-    dissect_mtp3_routing_label(tvb, pinfo, mtp3_tree);
+  dissect_mtp3_routing_label(tvb, pinfo, mtp3_tree);
   dissect_mtp3_payload(tvb, pinfo, tree);
 }