zap redundant cast
authorflorian <florian@openbsd.org>
Wed, 23 Apr 2014 09:14:49 +0000 (09:14 +0000)
committerflorian <florian@openbsd.org>
Wed, 23 Apr 2014 09:14:49 +0000 (09:14 +0000)
OK benno@

usr.sbin/traceroute/traceroute.c

index ae57628..adab292 100644 (file)
@@ -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;