traceroute: fix gcc-ism
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
diff --git a/networking/traceroute.c b/networking/traceroute.c
index 0435d6b..06d3f19 100644
--- a/networking/traceroute.c
+++ b/networking/traceroute.c
@@ -546,11 +546,11 @@
};
# 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) {