interfaces: fix typo in previous

This commit is contained in:
Franco Fichtner 2016-04-28 12:24:58 +02:00
parent 4e8debf8f3
commit b17d74faba

View File

@ -268,7 +268,7 @@ function legacy_getall_interface_addresses($ifs)
exec($cmd . ' 2>&1', $out, $ret);
if ($ret) {
log_error('The command `' . $cmd . '\' failed to execute');
return $stats;
return $addrs;
}
if (count($out)) {