diff options
author | Ermal Luçi <eri@pfsense.org> | 2009-02-01 15:26:39 +0000 |
---|---|---|
committer | Ermal Luçi <eri@pfsense.org> | 2009-02-01 15:26:39 +0000 |
commit | 8c1ed8aa5f386b319ec2d9c2128db912520f8777 (patch) | |
tree | 8f953bf10aaf2e4b91781bcca1eb4766bd88954b /etc | |
parent | d6efe64b134cdd3d843bc27459f32f39ce31b499 (diff) | |
download | pfsense-8c1ed8aa5f386b319ec2d9c2128db912520f8777.zip pfsense-8c1ed8aa5f386b319ec2d9c2128db912520f8777.tar.gz |
Add more L2TP improvements.
Diffstat (limited to 'etc')
-rw-r--r-- | etc/inc/interfaces.inc | 3 | ||||
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
2 files changed, 9 insertions, 0 deletions
diff --git a/etc/inc/interfaces.inc b/etc/inc/interfaces.inc index 67594c6..1579387 100644 --- a/etc/inc/interfaces.inc +++ b/etc/inc/interfaces.inc @@ -1811,6 +1811,9 @@ function get_real_interface($interface = "wan") { $wanif = $interface; switch ($interface) { + case "l2tp": + $wanif = "l2tp"; + break; case "pptp": $wanif = "pptp"; break; diff --git a/etc/inc/pfsense-utils.inc b/etc/inc/pfsense-utils.inc index c493371..c152821 100644 --- a/etc/inc/pfsense-utils.inc +++ b/etc/inc/pfsense-utils.inc @@ -1759,6 +1759,9 @@ function convert_friendly_interface_to_real_interface_name($interface) { $wanif = $interface; switch ($interface) { + case "l2tp": + $wanif = "l2tp"; + break; case "pptp": $wanif = "pptp"; break; @@ -1883,6 +1886,9 @@ function convert_friendly_interface_to_friendly_descr($interface) { global $config; switch ($interface) { + case "l2tp": + $ifdesc = "L2TP"; + break; case "pptp": $ifdesc = "PPTP"; break; |