summaryrefslogtreecommitdiffstats
path: root/etc/rc.linkup
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-03-30 00:37:45 +0000
committerErmal Luçi <eri@pfsense.org>2009-03-30 00:38:36 +0000
commita55e9c701c2fc8914e0aebf12e37038f59b07cf8 (patch)
tree05b5a1bc85f8742706649429ec164f576d240975 /etc/rc.linkup
parentcc460ee980e427bf4acdb8a4903e3278df59ea94 (diff)
downloadpfsense-a55e9c701c2fc8914e0aebf12e37038f59b07cf8.zip
pfsense-a55e9c701c2fc8914e0aebf12e37038f59b07cf8.tar.gz
* Hide interfaces internals to other code and use the propper interfaces.
Basically use get_interface*() functions instead of accessing fields like 'ipaddr'/'descr' etc... * Make get_interfaces_with_gateway less heavyweight by getting information from the configuration stored in config.xml * Some other missed custom interface list building and substituing with propper get_configured_interface*() NOTE: This should give indipendce on dynamic interfaces on some services that before could not be used on top of this type of interfaces.
Diffstat (limited to 'etc/rc.linkup')
-rwxr-xr-xetc/rc.linkup4
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/rc.linkup b/etc/rc.linkup
index 6818bbe..6b04a19 100755
--- a/etc/rc.linkup
+++ b/etc/rc.linkup
@@ -32,7 +32,7 @@
/* parse the configuration and include all functions used below */
require_once("globals.inc");
require_once("config.inc");
-require_once("functions.inc");
+require_once("interfaces.inc");
function handle_argument_group($iface, $argument2) {
global $config;
@@ -88,4 +88,4 @@ if ($g['booting'] == true) {
}
}
-?> \ No newline at end of file
+?>
OpenPOWER on IntegriCloud