summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc8
1 files changed, 4 insertions, 4 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index f65605f..724a714 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -597,8 +597,8 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive
}
/* Process/add dynamic v4 gateways. */
- foreach ($iflist as $ifname => $friendly ) {
- if (! interface_has_gateway($ifname)) {
+ foreach ($iflist as $ifname => $friendly) {
+ if (!interface_has_gateway($ifname)) {
continue;
}
@@ -688,13 +688,13 @@ function return_gateways_array($disabled = false, $localhost = false, $inactive
unset($gateway);
/* Process/add dynamic v6 gateways. */
- foreach ($iflist as $ifname => $friendly ) {
+ foreach ($iflist as $ifname => $friendly) {
/* If the user has disabled IPv6, they probably don't want any IPv6 gateways. */
if (!isset($config['system']['ipv6allow'])) {
break;
}
- if (! interface_has_gatewayv6($ifname)) {
+ if (!interface_has_gatewayv6($ifname)) {
continue;
}
OpenPOWER on IntegriCloud