Changeset 693 for trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
- Timestamp:
- Sep 14, 2014, 8:26:20 PM (10 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/Modules/NetworkConfigRouterOS/RouterboardAPI.php
r685 r693 56 56 $this->Write('/login'); 57 57 $Response = $this->Read(false); 58 if ((count($Response) > 0) and ($Response[0] == '!done')) {58 if ((count($Response) > 1) and ($Response[0] == '!done')) { 59 59 if (preg_match_all('/[^=]+/i', $Response[1], $Matches)) { 60 60 if ($Matches[0][0] == 'ret' && strlen($Matches[0][1]) == 32) {
Note:
See TracChangeset
for help on using the changeset viewer.