summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal Luçi <eri@pfsense.org>2009-08-11 10:33:18 +0000
committerErmal Luçi <eri@pfsense.org>2009-08-11 10:33:18 +0000
commite8910ad459021ae6f15f6669d73f9f6edd5fd67b (patch)
treeeb380c4b60dd690ba22bd05214402dcd203e2965 /etc
parentfe9afce65fc36f278e18edf8959669de2e9ddeef (diff)
downloadpfsense-e8910ad459021ae6f15f6669d73f9f6edd5fd67b.zip
pfsense-e8910ad459021ae6f15f6669d73f9f6edd5fd67b.tar.gz
Mark some other function with COMPAT comment to easily find them when needed.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/interfaces.inc7
1 files changed, 3 insertions, 4 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc
index 4a103dd..01d1cc6 100644
--- a/etc/inc/interfaces.inc
+++ b/etc/inc/interfaces.inc
@@ -1979,18 +1979,17 @@ function interface_group_setup($groupname /* The parameter is an array */) {
return;
}
-/* XXX: stub for code that references the old functions(mostly packages) */
-/*
- * convert_friendly_interface_to_real_interface_name($interface): convert WAN to FXP0
- */
+/* COMPAT Function */
function convert_friendly_interface_to_real_interface_name($interface) {
return get_real_interface($interface);
}
+/* COMPAT Function */
function get_real_wan_interface($interface = "wan") {
return get_real_interface($interface);
}
+/* COMPAT Function */
function get_current_wan_address($interface = "wan") {
return get_interface_ip($interface);
}
OpenPOWER on IntegriCloud