aboutsummaryrefslogtreecommitdiffstats
path: root/packet-mtp3.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-29 08:30:10 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2004-02-29 08:30:10 +0000
commitcfdcde0dcb2979f9fa210ea036904b2cf5e7c92b (patch)
treee07f33ca20f364d669cbed8fb9ab4a58073fd2ac /packet-mtp3.c
parentc8c81b45f7a426e00b3be594d8ece85b45891944 (diff)
From Jeff Morriss: dissect the MTP3 routing label regardless of whether
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
Diffstat (limited to 'packet-mtp3.c')
-rw-r--r--packet-mtp3.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/packet-mtp3.c b/packet-mtp3.c
index 9b22c2ebd1..5909d92032 100644
--- a/packet-mtp3.c
+++ b/packet-mtp3.c
@@ -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);
}