bin/117433: typo in netstat/sctp.c
Bruce Cran
bruce at cran.org.uk
Tue Oct 23 15:00:03 PDT 2007
>Number: 117433
>Category: bin
>Synopsis: typo in netstat/sctp.c
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: sw-bug
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 23 22:00:02 UTC 2007
>Closed-Date:
>Last-Modified:
>Originator: Bruce Cran
>Release: 7.0-PRERELEASE
>Organization:
>Environment:
FreeBSD tau.draftnet 7.0-PRERELEASE FreeBSD 7.0-PRERELEASE #3: Tue Oct 23 21:32:28 BST 2007 brucec at tau.draftnet:/usr/obj/usr/src/sys/MYKERNEL i386
>Description:
There's a typo in netstat/sctp.c - "max burst dosn't allow sending".
There are also a couple of lines in the SCTP statistics that end with a full stop while none of the other lines do.
>How-To-Repeat:
Run "netstat -s"
>Fix:
Patch attached with submission follows:
--- sctp.c 2007-10-23 22:44:39.000000000 +0100
+++ sctp.c.new 2007-10-23 22:46:14.000000000 +0100
@@ -563,7 +563,7 @@
p(sctps_sendretransdata, "\t\t%ju retran%smitted DATA chunks\n");
p(sctps_sendfastretrans, "\t\t%ju fa%st retransmitted DATA chunks\n");
p(sctps_sendmultfastretrans, "\t\t%ju FR'%s that happened more "
- "than once to same chunk.\n");
+ "than once to same chunk\n");
p(sctps_sendheartbeat, "\t\t%ju intput HB chunk%s\n");
p(sctps_sendecne, "\t\t%ju output ECNE chunk%s\n");
p(sctps_sendauth, "\t\t%ju output AUTH chunk%s\n");
@@ -645,12 +645,12 @@
#endif
p(sctps_naglesent, "\t%ju RFC813 allowed %sending\n");
p(sctps_naglequeued, "\t%ju RFC813 doe%s not allow sending\n");
- p(sctps_maxburstqueued, "\t%ju max bur%st dosn't allow sending\n");
+ p(sctps_maxburstqueued, "\t%ju max bur%st doesn't allow sending\n");
p(sctps_ifnomemqueued, "\t%ju look ahead tell%s us no memory in "
"interface\n");
p(sctps_windowprobed, "\t%ju numbers of window probe%s sent\n");
p(sctps_lowlevelerr, "\t%ju time%s an output error to clamp "
- "down on next user send.\n");
+ "down on next user send\n");
p(sctps_lowlevelerrusr, "\t%ju time%s sctp_senderrors were "
"caused from a user\n");
p(sctps_datadropchklmt, "\t%ju number of in data drop%s due to "
@@ -660,7 +660,7 @@
p(sctps_ecnereducedcwnd, "\t%ju time%s a ECN reduced "
"the cwnd\n");
p(sctps_vtagexpress, "\t%ju u%sed express lookup via vtag\n");
- p(sctps_vtagbogus, "\t%ju colli%sion in express lookup.\n");
+ p(sctps_vtagbogus, "\t%ju colli%sion in express lookup\n");
p(sctps_primary_randry, "\t%ju time%s the sender ran dry "
"of user data on primary\n");
p1a(sctps_cmt_randry, "\t%ju same for above\n");
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list