net/frr: style sweep

This commit is contained in:
Franco Fichtner
2023-07-17 10:14:55 +02:00
parent c2aa21b8c5
commit 6adb47c4c9
3 changed files with 3 additions and 4 deletions
@@ -270,7 +270,7 @@ class DiagnosticsController extends ApiControllerBase
public function searchOspfv3databaseAction(): array
{
$records = [];
$payload = $this->configdJson("ospfv3", "database") ;
$payload = $this->configdJson("ospfv3", "database");
foreach ($payload as $dbname => $database) {
foreach ($database as $topic) {
if (!empty($topic['lsa'])) {
@@ -116,7 +116,7 @@ class DiagnosticsController extends \OPNsense\Base\IndexController
'tabhead' => gettext('Counters'),
'type' => 'tree'
]
];
];
$this->view->default_tab = 'summary';
$this->view->pick('OPNsense/Quagga/diagnostics');
}
@@ -148,7 +148,7 @@ class DiagnosticsController extends \OPNsense\Base\IndexController
'tabhead' => gettext('Interface'),
'type' => 'tree'
]
];
];
$this->view->default_tab = 'overview';
$this->view->pick('OPNsense/Quagga/diagnostics');
}
@@ -160,4 +160,3 @@ command:/usr/local/bin/vtysh
parameters: -c 'show ipv6 ospf6 interface %s'
type:script_output
message:FRR diagnostics "show ipv6 ospf6 interface %s"