PHP8 support

This commit is contained in:
bergware
2023-02-04 17:10:53 +01:00
parent b60b3ffa4b
commit e3c69ae80c
3 changed files with 11 additions and 10 deletions
@@ -46,6 +46,7 @@ foreach ($other as $network) {
}
}
$include = $include6 = $address = $address6 = $gateway = $gateway6 = $unset = $protocol = [];
$wide = false;
foreach ($custom as $network) {
if (in_array($network,$slaves)) continue;
$ip4 = exec("ip -4 addr show $network|awk '/inet /{print $2;exit}'");