diff --git a/usr.sbin/traceroute6/Makefile b/usr.sbin/traceroute6/Makefile index 2d7f087eff26..e309333d4448 100644 --- a/usr.sbin/traceroute6/Makefile +++ b/usr.sbin/traceroute6/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.11 2020/09/06 07:20:33 mrg Exp $ +# $NetBSD: Makefile,v 1.12 2021/02/03 06:42:50 roy Exp $ USE_FORT?= yes # network client @@ -20,6 +20,4 @@ CPPFLAGS+=-I${TRACEROUTE} .PATH: ${TRACEROUTE} -CWARNFLAGS.gcc+= ${GCC_NO_ADDR_OF_PACKED_MEMBER} - .include diff --git a/usr.sbin/traceroute6/traceroute6.c b/usr.sbin/traceroute6/traceroute6.c index 63a99cdf40bf..2bdcb3e1f577 100644 --- a/usr.sbin/traceroute6/traceroute6.c +++ b/usr.sbin/traceroute6/traceroute6.c @@ -1,4 +1,4 @@ -/* $NetBSD: traceroute6.c,v 1.51 2018/04/23 18:59:03 maxv Exp $ */ +/* $NetBSD: traceroute6.c,v 1.52 2021/02/03 06:42:50 roy Exp $ */ /* $KAME: traceroute6.c,v 1.67 2004/01/25 03:24:39 itojun Exp $ */ /* @@ -75,7 +75,7 @@ static char sccsid[] = "@(#)traceroute.c 8.1 (Berkeley) 6/6/93"; #else #include #ifndef lint -__RCSID("$NetBSD: traceroute6.c,v 1.51 2018/04/23 18:59:03 maxv Exp $"); +__RCSID("$NetBSD: traceroute6.c,v 1.52 2021/02/03 06:42:50 roy Exp $"); #endif #endif @@ -306,7 +306,7 @@ struct opacket { u_char hops; /* hop limit of the packet */ u_char pad[2]; struct tv32 tv; /* time packet left */ -} __packed; +}; static u_char packet[512]; /* last inbound (icmp) packet */ static struct opacket *outpacket; /* last output (udp) packet */