Ignore:
Timestamp:
May 11, 2022, 12:14:42 PM (3 years ago)
Author:
chronos
Message:
  • Modified: Removed commended out print_r and echo commands used only for debugging.
Location:
trunk/Modules/NetworkConfigRouterOS/Generators
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/Modules/NetworkConfigRouterOS/Generators/FirewallFilter.php

    r887 r929  
    8686    }
    8787
    88     //print_r($Items);
    8988    $Routerboard->ListUpdate($Path, array('chain', 'dst-address', 'in-interface', 'src-address', 'out-interface', 'dst-port', 'protocol', 'action', 'comment', 'jump-target', 'src-port'), $Items);
    90 
    9189  }
    9290}
  • trunk/Modules/NetworkConfigRouterOS/Generators/FirewallMangle.php

    r909 r929  
    151151        'comment' => 'unregistred-clients');
    152152
    153     //print_r($ItemsFirewall);
    154153    $Routerboard->ListUpdate($PathFirewall, array('chain', 'dst-address', 'in-interface', 'action', 'new-packet-mark', 'passthrough', 'comment', 'out-interface', 'src-address', 'jump-target'), $ItemsFirewall, array(), true);
    155154  }
     
    255254        'action' => 'add-src-to-address-list', 'address-list' => 'unregistred', 'address-list-timeout' => '1d',
    256255        'comment' => 'unregistred-clients');
    257 
    258     //print_r($ItemsFirewall);
     256   
    259257    $Routerboard->ListUpdate($PathFirewall, array('chain', 'dst-address', 'in-interface', 'action', 'new-packet-mark',
    260258      'passthrough', 'comment', 'out-interface', 'src-address', 'jump-target'), $ItemsFirewall, array(), true);
  • trunk/Modules/NetworkConfigRouterOS/Generators/FirewallNAT.php

    r913 r929  
    139139    */
    140140
    141     //print_r($Items);
    142141    $Routerboard->ListUpdate($Path, array('chain', 'dst-address', 'in-interface', 'src-address', 'out-interface', 'to-ports', 'dst-port', 'protocol', 'action', 'to-addresses', 'comment', 'jump-target', 'src-port'), $Items);
    143142  }
  • trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php

    r926 r929  
    453453    $this->UpdateMinSpeed($RootDeviceId);
    454454
    455     //print_r($this->Devices);
    456 
    457455    echo('Not linked network devices: ');
    458456    foreach ($this->Devices as $Device)
     
    552550
    553551    echo($Main->Print());
    554     //print_r($Main->GetCommands());
    555552    die();
    556553
  • trunk/Modules/NetworkConfigRouterOS/Generators/Signal.php

    r921 r929  
    9797    if (array_key_exists('!trap', $Array))
    9898    {
    99       //print_r($Array['!trap']);
    10099      return array();
    101100    }   
Note: See TracChangeset for help on using the changeset viewer.