aboutsummaryrefslogtreecommitdiffstats
path: root/epan
diff options
context:
space:
mode:
Diffstat (limited to 'epan')
-rw-r--r--epan/dissectors/packet-dccp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dccp.c b/epan/dissectors/packet-dccp.c
index 9e6dd39788..661cd202e3 100644
--- a/epan/dissectors/packet-dccp.c
+++ b/epan/dissectors/packet-dccp.c
@@ -623,7 +623,7 @@ dissect_dccp(tvbuff_t *tvb, packet_info *pinfo, proto_tree *tree, void *data _U_
/* Extract generic header */
dccph->sport = tvb_get_ntohs(tvb, offset);
- dccph->dport = tvb_get_ntohs(tvb, offset);
+ dccph->dport = tvb_get_ntohs(tvb, offset + 2);
src_port_str = dccp_port_to_display(wmem_packet_scope(), dccph->sport);
dst_port_str = dccp_port_to_display(wmem_packet_scope(), dccph->dport);