From bf97cdfc87849bf79b353a8c571c40f04fa7928f Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Tue, 21 Feb 2023 12:24:53 +0100 Subject: [PATCH] interfaces: remove this workaround now that we force when applicable --- src/etc/inc/interfaces.inc | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/etc/inc/interfaces.inc b/src/etc/inc/interfaces.inc index c3de6292e..08b05c93a 100644 --- a/src/etc/inc/interfaces.inc +++ b/src/etc/inc/interfaces.inc @@ -894,7 +894,6 @@ function interface_bring_down($interface = 'wan', $ifacecfg = false) break; case 'dhcp': killbypid("/var/run/dhclient.{$realif}.pid", 'TERM', true); - @unlink("/tmp/{$realif}_oldip"); /* XXX dhclient cannot signal a release */ break; default: break; @@ -3115,7 +3114,6 @@ function interface_dhcp_configure($interface = 'wan') } killbypid("/var/run/dhclient.{$wanif}.pid", 'TERM', true); - @unlink("/tmp/{$wanif}_oldip"); /* XXX dhclient cannot signal a release */ $fd = fopen("/var/etc/dhclient_{$interface}.conf", "w"); if (!$fd) {