diff options
author | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-08-18 10:47:21 +0000 |
---|---|---|
committer | martinm <martinm@f5534014-38df-0310-8fa8-9805f1628bb7> | 2010-08-18 10:47:21 +0000 |
commit | fe6235836aa1c6877d7575c5884f8b180eb326ff (patch) | |
tree | 0c8f5eedc97d334dd960c72f6b6939cc2c4dec58 /epan/dissectors | |
parent | 03b41ca38e0b228c40fcc02b80848b8af17e6f08 (diff) |
Fix ipprim IPv6 port number offsets.
git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@33840 f5534014-38df-0310-8fa8-9805f1628bb7
Diffstat (limited to 'epan/dissectors')
-rw-r--r-- | epan/dissectors/packet-catapult-dct2000.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/epan/dissectors/packet-catapult-dct2000.c b/epan/dissectors/packet-catapult-dct2000.c index 9648241ecc..df9012dd19 100644 --- a/epan/dissectors/packet-catapult-dct2000.c +++ b/epan/dissectors/packet-catapult-dct2000.c @@ -291,10 +291,10 @@ static gboolean find_ipprim_data_offset(tvbuff_t *tvb, int *data_offset, guint8 /* Remote port follows (if present) */ if ((length % 4) == 2) { if (direction == 0) { - *dest_port_offset = offset + 4; + *dest_port_offset = offset + *dest_addr_length; } else { - *source_port_offset = offset + 4; + *source_port_offset = offset + *source_addr_length; } } } |