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.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • 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);
Note: See TracChangeset for help on using the changeset viewer.