added support for the line 'proc4ops' in /proc/net/rpc/nfsd

This commit is contained in:
Jordi Sanfeliu 2012-10-24 15:57:17 +02:00
parent 7dc2198c0c
commit e819ba2c0c
1 changed files with 1 additions and 0 deletions

View File

@ -5271,6 +5271,7 @@ sub nfss_update {
if(/^rpc\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)\s+(\d+)$/) {
@rpc = ($1, $2, $3, $4, $5);
}
$NFSS_VERSION = "4ops" if $NFSS_VERSION eq "4";
if(/^proc$NFSS_VERSION /) {
my @tmp = split(' ', $_);
(undef, undef, @nfss) = @tmp;