]> CyberLeo.Net >> Repos - FreeBSD/FreeBSD.git/commit
MFC r365508 (by rew):
authorGordon Bergling <gbe@FreeBSD.org>
Thu, 10 Dec 2020 10:00:43 +0000 (10:00 +0000)
committerGordon Bergling <gbe@FreeBSD.org>
Thu, 10 Dec 2020 10:00:43 +0000 (10:00 +0000)
commit1cdf5b274142a673c0518c4d1dfa67d52bc44086
tree34927fb9f6b92a6397f3a88d2e341ae961d2f095
parent2b73a9718a4937559613e524accddab9f15bdea1
MFC r365508 (by rew):

periodic.conf(5): don't truncate interface names reported by 420.status-network.

The daily periodic script, 420.status-network uses netstat(1) to report
interface status. By default, netstat(1) truncates interface names.

Add the '-W' flag (avoid truncating interface names) as the default for
'daily_status_network_netstat_flags' in periodic.conf(5).

The default 420.status-network command is now 'netstat -i -d -W -n'.

PR: 163572
Reported by: kes-kes@yandex.ru
Reviewed by: allanjude (mentor), bcr (manpages)
Approved by: allanjude (mentor)
Differential Revision: https://reviews.freebsd.org/D26023
share/man/man5/periodic.conf.5
usr.sbin/periodic/periodic.conf