aboutsummaryrefslogtreecommitdiffstats
path: root/epan/dissectors/packet-wreth.c
diff options
context:
space:
mode:
authorEvan Huus <eapache@gmail.com>2013-04-16 21:57:36 +0000
committerEvan Huus <eapache@gmail.com>2013-04-16 21:57:36 +0000
commit82ad8cdf1909f40ca018025ba81783a40778cf37 (patch)
tree25dca31b70e277fe92654d947f44befa08e9cda6 /epan/dissectors/packet-wreth.c
parent0c8abacbec85a3921edbd70da680c50aee5093db (diff)
Change offset to be 8, based on an educated guess from looking at the
code around line 777. Fixes the last open issue in https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7260 svn path=/trunk/; revision=48889
Diffstat (limited to 'epan/dissectors/packet-wreth.c')
-rw-r--r--epan/dissectors/packet-wreth.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-wreth.c b/epan/dissectors/packet-wreth.c
index babb997c79..51d48b249e 100644
--- a/epan/dissectors/packet-wreth.c
+++ b/epan/dissectors/packet-wreth.c
@@ -1057,7 +1057,7 @@ gint WrethNackPacket(tvbuff_t *tvb, guint8 Offset, packet_info * pInfo, proto_tr
guint16 ErrorCode;
Size = tvb_get_letohs(tvb,2);
- ErrorCode = tvb_get_letohs(tvb,2); /* XXX: what offset should be used ?? */
+ ErrorCode = tvb_get_letohs(tvb,8);
if((Size != 0)&&(Size != 6))
{