mirror of
https://git.FreeBSD.org/src.git
synced 2024-10-18 02:19:39 +00:00
netstat: Add missing "shutdown-ack-timer" key to libxo output
The key "shutdown-timer" was present twice in the libxo output. The second occurence of "shutdown-time" has been renamed to "shutdown-ack-timer". PR: 254672 Reviewed by: imp, zlei Pull Request: https://github.com/freebsd/freebsd-src/pull/1331
This commit is contained in:
parent
94567c8641
commit
674b96f58b
@ -501,7 +501,7 @@ intpr(void (*pfunc)(char *), int af)
|
|||||||
IFA_STAT(ipackets), link|network, 1);
|
IFA_STAT(ipackets), link|network, 1);
|
||||||
show_stat("lu", nerr_len, "received-errors", IFA_STAT(ierrors),
|
show_stat("lu", nerr_len, "received-errors", IFA_STAT(ierrors),
|
||||||
link, 1);
|
link, 1);
|
||||||
/* Below is kept for backwards compatibility. Will be removed in the future. */
|
/* Below is kept for backwards compatibility. Will be removed before FreeBSD 16. */
|
||||||
show_stat("lu", nerr_len, "dropped-packets", IFA_STAT(iqdrops),
|
show_stat("lu", nerr_len, "dropped-packets", IFA_STAT(iqdrops),
|
||||||
link, 1);
|
link, 1);
|
||||||
show_stat("lu", nerr_len, "dropped-packets-in", IFA_STAT(iqdrops),
|
show_stat("lu", nerr_len, "dropped-packets-in", IFA_STAT(iqdrops),
|
||||||
@ -708,7 +708,7 @@ sidewaysintpr(void)
|
|||||||
new->ift_ip - old->ift_ip, 1, 1);
|
new->ift_ip - old->ift_ip, 1, 1);
|
||||||
show_stat("lu", 5, "received-errors",
|
show_stat("lu", 5, "received-errors",
|
||||||
new->ift_ie - old->ift_ie, 1, 1);
|
new->ift_ie - old->ift_ie, 1, 1);
|
||||||
/* Below is kept for backwards compatibility. Will be removed in the future. */
|
/* Below is kept for backwards compatibility. Will be removed before FreeBSD 16. */
|
||||||
show_stat("lu", 5, "dropped-packets",
|
show_stat("lu", 5, "dropped-packets",
|
||||||
new->ift_id - old->ift_id, 1, 1);
|
new->ift_id - old->ift_id, 1, 1);
|
||||||
show_stat("lu", 5, "dropped-packets-in",
|
show_stat("lu", 5, "dropped-packets-in",
|
||||||
|
@ -711,7 +711,7 @@ sctp_stats(u_long off, const char *name, int af1 __unused, int proto __unused)
|
|||||||
"secret\n");
|
"secret\n");
|
||||||
p(sctps_timopathmtu, "\t\t{:pmtu-timer/%ju} "
|
p(sctps_timopathmtu, "\t\t{:pmtu-timer/%ju} "
|
||||||
"{N:/PMTU timer%s fired}\n");
|
"{N:/PMTU timer%s fired}\n");
|
||||||
p(sctps_timoshutdownack, "\t\t{:shutdown-timer/%ju} "
|
p(sctps_timoshutdownack, "\t\t{:shutdown-ack-timer/%ju} "
|
||||||
"{N:/shutdown ack timer%s fired}\n");
|
"{N:/shutdown ack timer%s fired}\n");
|
||||||
p(sctps_timoshutdownguard, "\t\t{:shutdown-guard-timer/%ju} "
|
p(sctps_timoshutdownguard, "\t\t{:shutdown-guard-timer/%ju} "
|
||||||
"{N:/shutdown guard timer%s fired}\n");
|
"{N:/shutdown guard timer%s fired}\n");
|
||||||
|
Loading…
Reference in New Issue
Block a user