summaryrefslogtreecommitdiff
path: root/print-dhcp6.c
diff options
context:
space:
mode:
Diffstat (limited to 'print-dhcp6.c')
-rw-r--r--print-dhcp6.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/print-dhcp6.c b/print-dhcp6.c
index cc47a2ec..60bfa55a 100644
--- a/print-dhcp6.c
+++ b/print-dhcp6.c
@@ -799,7 +799,7 @@ dhcp6_print(netdissect_options *ndo,
ND_PRINT("dhcp6");
- ep = (const u_char *)ndo->ndo_snapend;
+ ep = ndo->ndo_snapend;
if (cp + length < ep)
ep = cp + length;