diff options
author | Robert Wing <rew@FreeBSD.org> | 2020-09-09 19:07:34 +0000 |
---|---|---|
committer | Robert Wing <rew@FreeBSD.org> | 2020-09-09 19:07:34 +0000 |
commit | 37d72a91772456f6c5389b863511cc8462de6501 (patch) | |
tree | 9b1dc78d08c6d16939b2498840fd8d94ec80cde0 /usr.sbin/periodic | |
parent | 9fc62ba649126f546c7d6bd09ab44d147b3d8ff6 (diff) | |
download | src-37d72a91772456f6c5389b863511cc8462de6501.tar.gz src-37d72a91772456f6c5389b863511cc8462de6501.zip |
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)
MFC after: 1 week
Differential Revision: https://reviews.freebsd.org/D26023
Notes
Notes:
svn path=/head/; revision=365508
Diffstat (limited to 'usr.sbin/periodic')
-rw-r--r-- | usr.sbin/periodic/periodic.conf | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/usr.sbin/periodic/periodic.conf b/usr.sbin/periodic/periodic.conf index 438b0432d2f4..7eab566d29dc 100644 --- a/usr.sbin/periodic/periodic.conf +++ b/usr.sbin/periodic/periodic.conf @@ -123,7 +123,7 @@ daily_status_mfi_enable="NO" # Check mfiutil(8) # 420.status-network daily_status_network_enable="YES" # Check network status daily_status_network_usedns="YES" # DNS lookups are ok -daily_status_network_netstat_flags="-d" # netstat(1) flags +daily_status_network_netstat_flags="-d -W" # netstat(1) flags # 430.status-uptime daily_status_uptime_enable="YES" # Check system uptime |