Changeset 929 for trunk/Modules/NetworkConfigRouterOS
- Timestamp:
- May 11, 2022, 12:14:42 PM (3 years ago)
- Location:
- trunk/Modules/NetworkConfigRouterOS/Generators
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallFilter.php
r887 r929 86 86 } 87 87 88 //print_r($Items);89 88 $Routerboard->ListUpdate($Path, array('chain', 'dst-address', 'in-interface', 'src-address', 'out-interface', 'dst-port', 'protocol', 'action', 'comment', 'jump-target', 'src-port'), $Items); 90 91 89 } 92 90 } -
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallMangle.php
r909 r929 151 151 'comment' => 'unregistred-clients'); 152 152 153 //print_r($ItemsFirewall);154 153 $Routerboard->ListUpdate($PathFirewall, array('chain', 'dst-address', 'in-interface', 'action', 'new-packet-mark', 'passthrough', 'comment', 'out-interface', 'src-address', 'jump-target'), $ItemsFirewall, array(), true); 155 154 } … … 255 254 'action' => 'add-src-to-address-list', 'address-list' => 'unregistred', 'address-list-timeout' => '1d', 256 255 'comment' => 'unregistred-clients'); 257 258 //print_r($ItemsFirewall); 256 259 257 $Routerboard->ListUpdate($PathFirewall, array('chain', 'dst-address', 'in-interface', 'action', 'new-packet-mark', 260 258 'passthrough', 'comment', 'out-interface', 'src-address', 'jump-target'), $ItemsFirewall, array(), true); -
trunk/Modules/NetworkConfigRouterOS/Generators/FirewallNAT.php
r913 r929 139 139 */ 140 140 141 //print_r($Items);142 141 $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); 143 142 } -
trunk/Modules/NetworkConfigRouterOS/Generators/Queue.php
r926 r929 453 453 $this->UpdateMinSpeed($RootDeviceId); 454 454 455 //print_r($this->Devices);456 457 455 echo('Not linked network devices: '); 458 456 foreach ($this->Devices as $Device) … … 552 550 553 551 echo($Main->Print()); 554 //print_r($Main->GetCommands());555 552 die(); 556 553 -
trunk/Modules/NetworkConfigRouterOS/Generators/Signal.php
r921 r929 97 97 if (array_key_exists('!trap', $Array)) 98 98 { 99 //print_r($Array['!trap']);100 99 return array(); 101 100 }
Note:
See TracChangeset
for help on using the changeset viewer.