summaryrefslogtreecommitdiff
path: root/print-dhcp6.c
diff options
context:
space:
mode:
authorFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-18 17:27:31 +0100
committerFrancois-Xavier Le Bail <devel.fx.lebail@orange.fr>2018-01-18 17:27:31 +0100
commitc5b61e83e3cadd855842e4ec009cf86193679130 (patch)
tree6789f3f6cd1b344eb5de43ddc1f485f7ff4b63cb /print-dhcp6.c
parentb18372e2fe001b8f42185395d7e403dba9fdd682 (diff)
downloadtcpdump-c5b61e83e3cadd855842e4ec009cf86193679130.tar.gz
Remove unnecessary casts
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;