traceroute: fix gcc-ism
authorDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 11:39:41 +0000 (13:39 +0200)
committerDenys Vlasenko <vda.linux@googlemail.com>
Fri, 25 Oct 2019 11:39:41 +0000 (13:39 +0200)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
networking/traceroute.c

index 0435d6ba6a81ca44307da9b04d7e1dae5c3c190a..06d3f19dae0b49edcf5ca12787441a18073be248 100644 (file)
@@ -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) {