summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xepan/dissectors/packet-dhcpv6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/dissectors/packet-dhcpv6.c b/epan/dissectors/packet-dhcpv6.c
index 37c202c6d6..b0a75d6059 100755
--- a/epan/dissectors/packet-dhcpv6.c
+++ b/epan/dissectors/packet-dhcpv6.c
@@ -1842,7 +1842,7 @@ dhcpv6_option(tvbuff_t *tvb, packet_info *pinfo, proto_tree *bp_tree,
case OPTION_AFTR_NAME:
{
- dhcpv6_domain(subtree, option_item, pinfo, hf_aftr_name, tvb, off+1, optlen-1);
+ dhcpv6_domain(subtree, option_item, pinfo, hf_aftr_name, tvb, off, optlen);
break;
}