summaryrefslogtreecommitdiffstats
path: root/usr.sbin/traceroute
diff options
context:
space:
mode:
authorflorian <florian@openbsd.org>2014-04-23 09:14:49 +0000
committerflorian <florian@openbsd.org>2014-04-23 09:14:49 +0000
commitd5235a34f2ef21e129df9c272bc8d7a8dddfbd35 (patch)
treea4d04aec7edf44b58e4ea359c6d06df3684c2196 /usr.sbin/traceroute
parentIntroduce check_tos to unclutter the main loop. (diff)
downloadwireguard-openbsd-d5235a34f2ef21e129df9c272bc8d7a8dddfbd35.tar.xz
wireguard-openbsd-d5235a34f2ef21e129df9c272bc8d7a8dddfbd35.zip
zap redundant cast
OK benno@
Diffstat (limited to 'usr.sbin/traceroute')
-rw-r--r--usr.sbin/traceroute/traceroute.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/usr.sbin/traceroute/traceroute.c b/usr.sbin/traceroute/traceroute.c
index ae57628facb..adab2920795 100644
--- a/usr.sbin/traceroute/traceroute.c
+++ b/usr.sbin/traceroute/traceroute.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: traceroute.c,v 1.120 2014/04/23 09:14:07 florian Exp $ */
+/* $OpenBSD: traceroute.c,v 1.121 2014/04/23 09:14:49 florian Exp $ */
/* $NetBSD: traceroute.c,v 1.10 1995/05/21 15:50:45 mycroft Exp $ */
/*-
@@ -686,7 +686,6 @@ main(int argc, char *argv[])
if (ttl_flag)
printf(" (%u)", ip->ip_ttl);
if (i == -2) {
- ip = (struct ip *)packet;
if (ip->ip_ttl <= 1)
printf(" !");
++got_there;