mirror of
https://github.com/netbirdio/plugins.git
synced 2026-05-22 18:44:07 -07:00
net/frr: style sweep
This commit is contained in:
+1
-1
@@ -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"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user