From 7fdc163bf2b28087dea7f365124a70a404ff119d Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 20 Jun 2022 11:50:45 +0200 Subject: [PATCH] interfaces: style sweep --- src/etc/inc/interfaces.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index a2882609d..58ff3af76 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -2150,13 +2150,13 @@ function interface_configure($verbose = false, $interface = 'wan', $reload = fal foreach (plugins_devices() as $device) { if (empty($device['function']) || empty($device['names'])) { continue; - } + } - if (in_array($realhwif, $device['names'])) { + if (in_array($realhwif, $device['names'])) { log_msg("Device $realhwif requires reload for $interface, configuring now", LOG_ERR); call_user_func_array($device['function'], [$realhwif]); } - } + } } $ifconfig_details = legacy_interfaces_details();