aboutsummaryrefslogtreecommitdiffstats
path: root/packet-sctp.c
diff options
context:
space:
mode:
authorMichael Tüxen <tuexen@fh-muenster.de>2003-09-02 11:03:59 +0000
committerMichael Tüxen <tuexen@fh-muenster.de>2003-09-02 11:03:59 +0000
commit7730201e976a7e8d988627d76b8982d419f2b5d1 (patch)
treec9f39de1b73690c267f961dd0287c48c8bf5c8c6 /packet-sctp.c
parentb0bec4d79a9262392a34f5c50134060485789a6f (diff)
downloadwireshark-7730201e976a7e8d988627d76b8982d419f2b5d1.tar.gz
wireshark-7730201e976a7e8d988627d76b8982d419f2b5d1.tar.bz2
wireshark-7730201e976a7e8d988627d76b8982d419f2b5d1.zip
Fixed a bug regarding the summary of in/outbound streams in INIT/INIT-ACK chunks.
svn path=/trunk/; revision=8330
Diffstat (limited to 'packet-sctp.c')
-rw-r--r--packet-sctp.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/packet-sctp.c b/packet-sctp.c
index 7db432ca43..72b8b4533e 100644
--- a/packet-sctp.c
+++ b/packet-sctp.c
@@ -12,7 +12,7 @@
* - support for reassembly
* - error checking mode
*
- * $Id: packet-sctp.c,v 1.61 2003/08/26 07:03:14 guy Exp $
+ * $Id: packet-sctp.c,v 1.62 2003/09/02 11:03:59 tuexen Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -1416,8 +1416,8 @@ dissect_init_chunk(tvbuff_t *chunk_tvb, packet_info *pinfo, proto_tree *chunk_t
dissect_parameters(parameters_tvb, pinfo, chunk_tree, NULL);
proto_item_append_text(chunk_item, " (Outbound streams: %u, inbound streams: %u)",
- tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET),
- tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET));
+ tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET),
+ tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET));
}
}
@@ -1441,8 +1441,8 @@ dissect_init_ack_chunk(tvbuff_t *chunk_tvb, packet_info *pinfo, proto_tree *chun
dissect_parameters(parameters_tvb, pinfo, chunk_tree, NULL);
proto_item_append_text(chunk_item, " (Outbound streams: %u, inbound streams: %u)",
- tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET),
- tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET));
+ tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_OUTBOUND_STREAMS_OFFSET),
+ tvb_get_ntohs(chunk_tvb, INIT_CHUNK_NUMBER_OF_INBOUND_STREAMS_OFFSET));
}
}