mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-15 17:14:46 +00:00
interfaces: align file names #5367
This commit is contained in:
parent
bde62fc806
commit
08df2b0255
@ -141,7 +141,7 @@ foreach (array_keys($restartifs) as $ifname) {
|
||||
*/
|
||||
ifgroup_setup();
|
||||
|
||||
$cacheip_file = "/tmp/{$interface}_oldip";
|
||||
$cacheip_file = "/tmp/{$interface_real}_oldip";
|
||||
$cacheip = @file_get_contents($cacheip_file);
|
||||
|
||||
if ($ip != $cacheip || !is_ipaddr($config['interfaces'][$interface]['ipaddr'])) {
|
||||
|
||||
@ -109,7 +109,7 @@ if (count(link_interface_to_track6($interface, true))) {
|
||||
system_resolvconf_generate();
|
||||
system_hosts_generate();
|
||||
|
||||
$cacheip_file = "/tmp/{$interface}_oldipv6";
|
||||
$cacheip_file = "/tmp/{$interface_real}_oldipv6";
|
||||
$cacheip = @file_get_contents($cacheip_file);
|
||||
|
||||
if ($ip != $cacheip || !is_ipaddr($config['interfaces'][$interface]['ipaddrv6'])) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user