From: Denys Vlasenko Date: Fri, 25 Oct 2019 11:39:41 +0000 (+0200) Subject: traceroute: fix gcc-ism X-Git-Tag: 1_32_0~119 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=e076162897638a9b4952a77bf9cd7d24b2a296be;p=oweals%2Fbusybox.git traceroute: fix gcc-ism Signed-off-by: Denys Vlasenko --- diff --git a/networking/traceroute.c b/networking/traceroute.c index 0435d6ba6..06d3f19da 100644 --- a/networking/traceroute.c +++ b/networking/traceroute.c @@ -546,11 +546,11 @@ pr_type(unsigned char t) }; # if ENABLE_TRACEROUTE6 static const char *const ttab6[] = { -[0] "Error", "Dest Unreachable", "Packet Too Big", "Time Exceeded", -[4] "Param Problem", -[8] "Echo Request", "Echo Reply", "Membership Query", "Membership Report", -[12] "Membership Reduction", "Router Solicit", "Router Advert", "Neighbor Solicit", -[16] "Neighbor Advert", "Redirect", +[0] = "Error", "Dest Unreachable", "Packet Too Big", "Time Exceeded", +[4] = "Param Problem", +[8] = "Echo Request", "Echo Reply", "Membership Query", "Membership Report", +[12] = "Membership Reduction", "Router Solicit", "Router Advert", "Neighbor Solicit", +[16] = "Neighbor Advert", "Redirect", }; if (dest_lsa->u.sa.sa_family == AF_INET6) {