From e076162897638a9b4952a77bf9cd7d24b2a296be Mon Sep 17 00:00:00 2001 From: Denys Vlasenko Date: Fri, 25 Oct 2019 13:39:41 +0200 Subject: traceroute: fix gcc-ism Signed-off-by: Denys Vlasenko --- networking/traceroute.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'networking') 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) { -- cgit v1.2.3