mirror of
https://github.com/opnsense/plugins.git
synced 2026-04-21 17:47:44 -05:00
net/relayd: whitespace sweep and disable line check
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user