Skip to content

Commit 543e2ab

Browse files
committed
webgui: Data.php: test-option from mod_netconf
- refs #1360
1 parent 21210a6 commit 543e2ab

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/FIT/NetopeerBundle/Models/Data.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -678,6 +678,9 @@ private function handle_editconfig(&$sock, &$params) {
678678
if (isset($params['default-operation']) && ($params['default-operation'] !== "")) {
679679
$editparams['default-operation'] = $params['defopt'];
680680
}
681+
if (isset($params['test-option']) && ($params['test-option'] !== "")) {
682+
$editparams['test-option'] = $params['test-option'];
683+
}
681684
$decoded = $this->execute_operation($sock, $editparams);
682685
return $this->checkDecodedData($decoded);
683686
}

0 commit comments

Comments
 (0)