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/inc/pfsense-utils.inc | |
parent | d6efe64b134cdd3d843bc27459f32f39ce31b499 (diff) | |
download | pfsense-8c1ed8aa5f386b319ec2d9c2128db912520f8777.zip pfsense-8c1ed8aa5f386b319ec2d9c2128db912520f8777.tar.gz |
Add more L2TP improvements.
Diffstat (limited to 'etc/inc/pfsense-utils.inc')
-rw-r--r-- | etc/inc/pfsense-utils.inc | 6 |
1 files changed, 6 insertions, 0 deletions
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; |