mirror of
https://github.com/lucaspalomodevelop/core.git
synced 2026-03-13 00:07:26 +00:00
interfaces: report current IP for #6522
This commit is contained in:
parent
d633cd961f
commit
2db028d21b
@ -83,7 +83,7 @@ $cacheip_file = "/tmp/{$device}_oldip";
|
||||
$cacheip = trim(@file_get_contents($cacheip_file));
|
||||
|
||||
if ($force == 'no' && $ip == $cacheip) {
|
||||
log_msg("No IP change detected for {$interface_descr}[{$interface}]", LOG_INFO);
|
||||
log_msg("No IP change detected (current: {$ip}, interface: {$interface_descr}[{$interface}])", LOG_INFO);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
@ -74,7 +74,7 @@ $cacheip_file = "/tmp/{$device}_oldipv6";
|
||||
$cacheip = trim(@file_get_contents($cacheip_file));
|
||||
|
||||
if ($force == 'no' && $ip == $cacheip) {
|
||||
log_msg("No IP change detected for {$interface_descr}[{$interface}]", LOG_INFO);
|
||||
log_msg("No IP change detected (current: {$ip}, interface: {$interface_descr}[{$interface}])", LOG_INFO);
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user