[Bug 275044] Missing tab in `netstat -s` output

From: <bugzilla-noreply_at_freebsd.org>
Date: Sun, 12 Nov 2023 17:43:50 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=275044

            Bug ID: 275044
           Summary: Missing tab in `netstat -s` output
           Product: Base System
           Version: 14.0-RELEASE
          Hardware: Any
                OS: Any
            Status: New
          Severity: Affects Only Me
          Priority: ---
         Component: bin
          Assignee: bugs@FreeBSD.org
          Reporter: sigsys@gmail.com

This is really trivial, but visually annoying in the output.

diff --git a/usr.bin/netstat/inet6.c b/usr.bin/netstat/inet6.c
index b88e84ecc564..9141cca191ee 100644
--- a/usr.bin/netstat/inet6.c
+++ b/usr.bin/netstat/inet6.c
@@ -992,7 +992,7 @@ icmp6_stats(u_long off, const char *name, int af1 __unused,
int proto __unused)
            "{N:/bad checksum%s}\n");
        p(icp6s_badlen, "\t{:dropped-bad-length/%ju} "
            "{N:/message%s with bad length}\n");
-       p(icp6s_dropped, "{:dropped-no-entry/%ju} "
+       p(icp6s_dropped, "\t{:dropped-no-entry/%ju} "
            "{N:/total packet%s dropped due to failed NDP resolution}\n");
 #define        NELEM
(int)(sizeof(icmp6stat.icp6s_inhist)/sizeof(icmp6stat.icp6s_inhist[0]))
        for (first = 1, i = 0; i < NELEM; i++)

-- 
You are receiving this mail because:
You are the assignee for the bug.