diff --git a/includes/discovery/os/merakimr.inc.php b/includes/discovery/os/merakimr.inc.php index a8255a6b35..01d88c7223 100644 --- a/includes/discovery/os/merakimr.inc.php +++ b/includes/discovery/os/merakimr.inc.php @@ -11,7 +11,7 @@ */ if (!$os) { - if (preg_match("/^Meraki MR/", $sysDescr)) { $os = "merakimr"; } + if (preg_match("/^Meraki MR/", $sysDescr)) { + $os = "merakimr"; + } } - -?> diff --git a/includes/discovery/os/merakims.inc.php b/includes/discovery/os/merakims.inc.php index 8635c0e95d..341f809a93 100644 --- a/includes/discovery/os/merakims.inc.php +++ b/includes/discovery/os/merakims.inc.php @@ -11,7 +11,7 @@ */ if (!$os) { - if (preg_match("/^Meraki MS/", $sysDescr)) { $os = "merakims"; } + if (preg_match("/^Meraki MS/", $sysDescr)) { + $os = "merakims"; + } } - -?> diff --git a/includes/discovery/os/merakimx.inc.php b/includes/discovery/os/merakimx.inc.php index aa0f87e913..66a7447556 100644 --- a/includes/discovery/os/merakimx.inc.php +++ b/includes/discovery/os/merakimx.inc.php @@ -11,7 +11,7 @@ */ if (!$os) { - if (preg_match("/^Meraki MX/", $sysDescr)) { $os = "merakimx"; } + if (preg_match("/^Meraki MX/", $sysDescr)) { + $os = "merakimx"; + } } - -?> diff --git a/includes/polling/os/merakimr.inc.php b/includes/polling/os/merakimr.inc.php index 2158f6c259..cbbd32c9a7 100644 --- a/includes/polling/os/merakimr.inc.php +++ b/includes/polling/os/merakimr.inc.php @@ -10,9 +10,6 @@ * the source code distribution for details. */ -if(empty($hardware)) { - $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); +if (empty($hardware)) { + $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); } - - -?> diff --git a/includes/polling/os/merakims.inc.php b/includes/polling/os/merakims.inc.php index 1bfdaedc38..d63ccb2099 100644 --- a/includes/polling/os/merakims.inc.php +++ b/includes/polling/os/merakims.inc.php @@ -10,9 +10,6 @@ * the source code distribution for details. */ -if(empty($hardware)) { - $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); +if (empty($hardware)) { + $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); } - - -?> diff --git a/includes/polling/os/merakimx.inc.php b/includes/polling/os/merakimx.inc.php index 217ca3afc9..60ffbd1289 100644 --- a/includes/polling/os/merakimx.inc.php +++ b/includes/polling/os/merakimx.inc.php @@ -10,9 +10,6 @@ * the source code distribution for details. */ -if(empty($hardware)) { - $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); +if (empty($hardware)) { + $hardware = snmp_get($device, "sysDescr.0", "-Osqv", "SNMPv2-MIB"); } - - -?>