summaryrefslogtreecommitdiffstats
path: root/usr/local/www/vpn_l2tp.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2009-11-21 16:07:54 -0500
committerScott Ullrich <sullrich@pfsense.org>2009-11-21 16:08:36 -0500
commit483e6de8423236fd6af30de585caa72a507758f1 (patch)
treeeb889e0d2978c3975304a54e2cd7ac4606d73a98 /usr/local/www/vpn_l2tp.php
parente2d90eacaa1d352dbf19d7b9c05b1bc0ee1dc942 (diff)
downloadpfsense-483e6de8423236fd6af30de585caa72a507758f1.zip
pfsense-483e6de8423236fd6af30de585caa72a507758f1.tar.gz
Rework includes/require. This saves about 4 megabytes.
Simplify get_memory(). Tested on mips/i386
Diffstat (limited to 'usr/local/www/vpn_l2tp.php')
-rw-r--r--usr/local/www/vpn_l2tp.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/usr/local/www/vpn_l2tp.php b/usr/local/www/vpn_l2tp.php
index 0c0336e..24bb85c 100644
--- a/usr/local/www/vpn_l2tp.php
+++ b/usr/local/www/vpn_l2tp.php
@@ -38,6 +38,7 @@
$pgtitle = array(gettext("VPN"), gettext("L2TP"), gettext("L2TP"));
require("guiconfig.inc");
+require_once("vpn.inc");
if (!is_array($config['l2tp']['radius'])) {
$config['l2tp']['radius'] = array();
OpenPOWER on IntegriCloud