mirror of
https://github.com/opnsense/plugins.git
synced 2026-02-20 00:10:36 -05:00
net/relayd: whitespace sweep and disable line check
This commit is contained in:
parent
90cab1ce7b
commit
c62475abf0
2 changed files with 3 additions and 3 deletions
|
|
@ -8,7 +8,7 @@ use bytes;
|
|||
use File::Basename;
|
||||
|
||||
# Default options
|
||||
$max_width = 119;
|
||||
$max_width = 0;
|
||||
|
||||
# Clean up space-tab sequences, either by removing spaces or
|
||||
# replacing them with tabs.
|
||||
|
|
|
|||
|
|
@ -103,7 +103,7 @@ class SettingsController extends ApiControllerBase
|
|||
}
|
||||
if ($node != null) {
|
||||
$relaydInfo = $this->request->getPost("relayd");
|
||||
|
||||
|
||||
// perform plugin specific validations
|
||||
if ($nodeType == 'virtualserver') {
|
||||
if ($relaydInfo[$nodeType]['type'] == 'redirect') {
|
||||
|
|
@ -147,7 +147,7 @@ class SettingsController extends ApiControllerBase
|
|||
break;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
$node->setNodes($relaydInfo[$nodeType]);
|
||||
$valMsgs = $mdlRelayd->performValidation();
|
||||
foreach ($valMsgs as $field => $msg) {
|
||||
|
|
|
|||
Loading…
Reference in a new issue