The output of `route -A inet6` does not display properly when the 'Use' column output is over 6 digits
Issue
-
The old
routecommand's output for IPv6 does not always include a space between the values in theRefandUsecolumns:[root@r75 ~]# route -n -A inet6 Kernel IPv6 routing table Destination Next Hop Flag Met Ref Use If ::/96 :: !n 1024 0 0 lo 0.0.0.0/96 :: !n 1024 0 0 lo 2002:a00::/24 :: !n 1024 0 0 lo 2002:7f00::/24 :: !n 1024 0 0 lo 2002:a9fe::/32 :: !n 1024 0 0 lo 2002:ac10::/28 :: !n 1024 0 0 lo 2002:c0a8::/32 :: !n 1024 0 0 lo 2002:e000::/19 :: !n 1024 0 0 lo 3ffe:ffff::/32 :: !n 1024 1 1 lo fdd7:ef86:f745:e8df::/64 :: U 101 13066462 ens9 <- Ref is 1 and Use is 3066462 fe80::/64 :: U 100 0 27 eth0 fe80::/64 :: U 101 0 11 ens9 fe80::/64 :: U 256 0 0 eth0 fe80::/64 :: U 256 0 0 ens9 ::/0 :: !n -1 13066532 lo ::1/128 :: Un 0 2 43 lo fdd7:ef86:f745:e8df:a81e:3bd2:5f0a:373a/128 :: Un 0 21533213 lo fe80::f84:b1c8:ae94:d08/128 :: Un 0 2 14 lo fe80::5054:ff:fe82:3cf5/128 :: Un 0 1 0 lo ff00::/8 :: U 256 1 30 eth0 ff00::/8 :: U 256 1 4 ens9 ::/0 :: !n -1 13066532 lo
Environment
- Red Hat Enterprise Linux
- net-tools package
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
