Changeset 915 for trunk/Modules/NetworkConfigRouterOS/SSH.php
- Timestamp:
- Dec 7, 2021, 9:56:09 PM (3 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/SSH.php
r888 r915 37 37 } 38 38 /* 39 //echo(') '.strlen($Buffer).' '.ord($Buffer {0}).'(');39 //echo(') '.strlen($Buffer).' '.ord($Buffer[0]).'('); 40 40 for ($I = 0; $I < strlen($Buffer); $I++) 41 41 { 42 if (((ord($Buffer {$I}) >= 32) and (ord($Buffer{$I}) <= 128)) or ($Buffer{$I} = "\n") or ($Buffer{$I} = "\r")) echo($Buffer{$I});43 if ($Buffer {$I}== '>')42 if (((ord($Buffer[$I]) >= 32) and (ord($Buffer[$I]) <= 128)) or ($Buffer[$I] = "\n") or ($Buffer[$I] = "\r")) echo($Buffer[$I]); 43 if ($Buffer[$I] == '>') 44 44 { 45 45 fwrite($Stream, $Commands."\n\r");
Note:
See TracChangeset
for help on using the changeset viewer.