git: c5b8d7b7c14f - main - netstat: Fix typo

Stefan Eßer se at FreeBSD.org
Fri Jul 2 06:43:53 UTC 2021


The branch main has been updated by se:

URL: https://cgit.FreeBSD.org/src/commit/?id=c5b8d7b7c14f72a4ad12e610222642c69374dd4a

commit c5b8d7b7c14f72a4ad12e610222642c69374dd4a
Author:     Stefan Eßer <se at FreeBSD.org>
AuthorDate: 2021-07-02 06:38:42 +0000
Commit:     Stefan Eßer <se at FreeBSD.org>
CommitDate: 2021-07-02 06:42:34 +0000

    netstat: Fix typo
    
    Correct spelling of "received packers" to "received packets".
    
    PR:             256926
    Reported by:    ghuckriede at blackberry.com
    MFC after:      3 days
---
 usr.bin/netstat/inet.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/usr.bin/netstat/inet.c b/usr.bin/netstat/inet.c
index 1143c09734e4..45c5f05e60b8 100644
--- a/usr.bin/netstat/inet.c
+++ b/usr.bin/netstat/inet.c
@@ -1115,7 +1115,7 @@ arp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
 	    "{N:/ARP request%s received}\n");
 	p2(rxreplies, "{:received-replies/%ju} "
 	    "{N:/ARP repl%s received}\n");
-	p(received, "{:received-packers/%ju} "
+	p(received, "{:received-packets/%ju} "
 	    "{N:/ARP packet%s received}\n");
 	p(dropped, "{:dropped-no-entry/%ju} "
 	    "{N:/total packet%s dropped due to no ARP entry}\n");


More information about the dev-commits-src-main mailing list