diff options
author | Ermal Luçi <eri@pfsense.org> | 2008-10-23 21:59:55 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2008-10-23 21:59:55 +0000 |
commit | abb31ea43d7a0a723155612e5b6d18b755f630f7 (patch) | |
tree | ad82a5c26e694fba49104311383f93064c90d153 /etc/inc/interfaces.inc | |
parent | 85a5da131ccbbb6fe335da3ca7d67cc0c3f60aa0 (diff) | |
download | pfsense-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.inc | 10 |
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; |