aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2004-02-29 08:30:10 +0000
committerGuy Harris <guy@alum.mit.edu>2004-02-29 08:30:10 +0000
commit5d613954210c88130bb92172002b1e70f4f3324d (patch)
treee07f33ca20f364d669cbed8fb9ab4a58073fd2ac
parente748cb2ea235b0f00965ab0321b46363fcef0d40 (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. svn path=/trunk/; revision=10264
-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);
}