From 08df2b02554c736013576e34cbe97d0faf2123a0 Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Mon, 29 Nov 2021 07:36:37 +0100 Subject: [PATCH] interfaces: align file names #5367 --- src/etc/rc.newwanip | 2 +- src/etc/rc.newwanipv6 | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/etc/rc.newwanip b/src/etc/rc.newwanip index 8c2c04d42..abe8ee1b9 100755 --- a/src/etc/rc.newwanip +++ b/src/etc/rc.newwanip @@ -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'])) { diff --git a/src/etc/rc.newwanipv6 b/src/etc/rc.newwanipv6 index 90a3422a7..9c8e657bf 100755 --- a/src/etc/rc.newwanipv6 +++ b/src/etc/rc.newwanipv6 @@ -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'])) {