From 047b0c1c42e333334c25097457d292e6b374a9ce Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 6 Feb 2018 19:55:50 +0000 Subject: [PATCH] net/frr: style fix --- .../OPNsense/Quagga/Api/BgpController.php | 26 ++++++++++++------- 1 file changed, 17 insertions(+), 9 deletions(-) diff --git a/net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/Api/BgpController.php b/net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/Api/BgpController.php index 878bf3a19..921c9088d 100644 --- a/net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/Api/BgpController.php +++ b/net/frr/src/opnsense/mvc/app/controllers/OPNsense/Quagga/Api/BgpController.php @@ -41,8 +41,9 @@ class BgpController extends ApiMutableModelControllerBase public function searchNeighborAction() { $this->sessionClose(); - return $this->searchBase('neighbors.neighbor', - array("enabled", + return $this->searchBase( + 'neighbors.neighbor', + array("enabled", "address", "remoteas", "updatesource", @@ -51,7 +52,8 @@ class BgpController extends ApiMutableModelControllerBase "linkedPrefixlistIn", "linkedPrefixlistOut", "linkedRoutemapIn", - "linkedRoutemapOut")); + "linkedRoutemapOut") + ); } public function getNeighborAction($uuid = null) @@ -78,8 +80,10 @@ class BgpController extends ApiMutableModelControllerBase public function searchAspathAction() { $this->sessionClose(); - return $this->searchBase('aspaths.aspath', - array("enabled", "number", "action", "as" )); + return $this->searchBase( + 'aspaths.aspath', + array("enabled", "number", "action", "as" ) + ); } public function getAspathAction($uuid = null) @@ -106,8 +110,10 @@ class BgpController extends ApiMutableModelControllerBase public function searchPrefixlistAction() { $this->sessionClose(); - return $this->searchBase('prefixlists.prefixlist', - array("enabled", "name", "seqnumber", "action", "network" )); + return $this->searchBase( + 'prefixlists.prefixlist', + array("enabled", "name", "seqnumber", "action", "network" ) + ); } public function getPrefixlistAction($uuid = null) { @@ -133,8 +139,10 @@ class BgpController extends ApiMutableModelControllerBase public function searchRoutemapAction() { $this->sessionClose(); - return $this->searchBase('routemaps.routemap', - array("enabled", "name", "action", "id", "match", "set")); + return $this->searchBase( + 'routemaps.routemap', + array("enabled", "name", "action", "id", "match", "set") + ); } public function getRoutemapAction($uuid = null)