summaryrefslogtreecommitdiffstats
path: root/etc/inc/interfaces.inc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2008-10-23 21:59:55 +0000
committerErmal Luçi <eri@pfsense.org>2008-10-23 21:59:55 +0000
commitabb31ea43d7a0a723155612e5b6d18b755f630f7 (patch)
treead82a5c26e694fba49104311383f93064c90d153 /etc/inc/interfaces.inc
parent85a5da131ccbbb6fe335da3ca7d67cc0c3f60aa0 (diff)
downloadpfsense-abb31ea43d7a0a723155612e5b6d18b755f630f7.zip
pfsense-abb31ea43d7a0a723155612e5b6d18b755f630f7.tar.gz
Add stub functions for code that references old names(mostly pacakges).
Suggested-by: Scott
Diffstat (limited to 'etc/inc/interfaces.inc')
-rw-r--r--etc/inc/interfaces.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index f2821e1..dc99aba 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1673,6 +1673,16 @@ EOD;
return 0;
}
+/* XXX: stub for code that references the old functions(mostly packages) */
+function get_real_wan_interface($interface)
+{
+ return get_real_interface($interface);
+}
+function get_current_wan_address($interface)
+{
+ return get_interface_ip($interface);
+}
+
function get_real_interface($interface = "wan")
{
global $config;
OpenPOWER on IntegriCloud