summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index d8c3a12..50eabc1 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -843,7 +843,7 @@ function lookup_gateway_ip_by_name($name) {
$gateways_arr = return_gateways_array(false, true);
foreach ($gateways_arr as $gname => $gw) {
- if ($gw['name'] == $name || $gname == $name)
+ if ($gw['name'] === $name || $gname === $name)
return $gw['gateway'];
}
OpenPOWER on IntegriCloud