Changeset 491 in genapp


Ignore:
Timestamp:
May 21, 2015, 1:12:07 PM (7 years ago)
Author:
ehb
Message:
 
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • languages/html5/sys/sys_jobmonitor.php

    r490 r491  
    155155
    156156    foreach ( $net as $v ) {
    157         $thisnet = preg_split( "/\s+/", $v );
    158         $if = rtrim( $thisnet[ 1 ], ":" );
     157        $thisnet = preg_split( "/\s+/",  strtr( $v, ":", " " ) );
     158        $if = $thisnet[ 1 ];
    159159        // for sep tx,rx $result[ "net" ][ $if ] = array( $thisnet[ 2 ], $thisnet[ 10 ] );
    160160        $totuse = $thisnet[ 2 ] + $thisnet[ 10 ];
  • modules/jobmonitor.json

    r490 r491  
    1515            ,"label"   : "Update frequency in seconds"
    1616            ,"type"    : "integer"
    17             ,"min"     : 2
    18             ,"default" : 2
     17            ,"min"     : 5
     18            ,"default" : 5
    1919        }
    2020        ,{
Note: See TracChangeset for help on using the changeset viewer.