Skip to content

Commit

Permalink
interfaces: report current IP for #6522
Browse files Browse the repository at this point in the history
  • Loading branch information
fichtner committed May 11, 2023
1 parent d633cd9 commit 2db028d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/etc/rc.newwanip
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down
2 changes: 1 addition & 1 deletion src/etc/rc.newwanipv6
Original file line number Diff line number Diff line change
Expand Up @@ -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;
}

Expand Down

0 comments on commit 2db028d

Please sign in to comment.