summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2013-03-19 20:19:03 +0000
committerErmal <eri@pfsense.org>2013-03-19 20:19:03 +0000
commita9518178f9aeead27fa40aef0fd040682f6f07f2 (patch)
treec8795a089b00d1a88e8c09100a9e3d1be64adbc5 /etc/inc/interfaces.inc
parent4e6667b2197f2f99b7a9b70c9a47df7029adb3d4 (diff)
downloadpfsense-a9518178f9aeead27fa40aef0fd040682f6f07f2.zip
pfsense-a9518178f9aeead27fa40aef0fd040682f6f07f2.tar.gz
Remove functions that are not used now with once mode of rtsold
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc14
1 files changed, 0 insertions, 14 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 97b8c08..3935d71 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1199,9 +1199,6 @@ function interface_bring_down($interface = "wan", $destroy = false, $ifacecfg =
$pidv6 = find_dhcp6c_process($realif);
if($pidv6)
posix_kill($pidv6, SIGTERM);
- $pidv6 = find_rtsold_process($realif);
- if($pidv6)
- posix_kill($pidv6, SIGTERM);
sleep(3);
unlink_if_exists("{$g['varetc_path']}/dhcp6c_{$interface}.conf");
if (does_interface_exist("$realif")) {
@@ -2691,17 +2688,6 @@ function find_dhclient_process($interface) {
return intval($pid);
}
-function find_rtsold_process($interface) {
- global $g;
-
- if ($interface && isvalidpid("{$g['varrun_path']}/rtsold_{$interface}.pid"))
- $pid = trim(file_get_contents("{$g['varrun_path']}/rtsold_{$interface}.pid"), " \n");
- else
- return(false);
-
- return intval($pid);
-}
-
function find_dhcp6c_process($interface) {
global $g;
OpenPOWER on IntegriCloud