mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
interfaces: make this return explict
This commit is contained in:
parent
1e37f6a7fc
commit
4d20b54aa5
@ -215,7 +215,8 @@ function _interfaces_bridge_configure($bridge, $ifconfig_details = null)
|
||||
$this_if = !empty($ifconfig_details[$bridgeif]) ? $ifconfig_details[$bridgeif] : [];
|
||||
|
||||
if (empty($ifconfig_details[$bridgeif]) && empty(legacy_interface_create($bridgeif))) {
|
||||
return; /* not found, unable to create. errors are logged inside legacy_interface_create() */
|
||||
/* not found, unable to create. errors are logged inside legacy_interface_create() */
|
||||
return null;
|
||||
}
|
||||
|
||||
/* find all required members */
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user