summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_npt_edit.php
diff options
context:
space:
mode:
authorRenato Botelho <renato@netgate.com>2015-11-10 14:42:33 -0200
committerRenato Botelho <renato@netgate.com>2015-11-10 14:42:33 -0200
commit1d85e9635fd9d1bd1cd8dd84ffb722677732567e (patch)
tree0a3e585a5a41d0a14a80144f725b57859f781245 /src/usr/local/www/firewall_nat_npt_edit.php
parentf34b7665264fd4e3e05c11fe87fbd68174030624 (diff)
downloadpfsense-1d85e9635fd9d1bd1cd8dd84ffb722677732567e.zip
pfsense-1d85e9635fd9d1bd1cd8dd84ffb722677732567e.tar.gz
Fix calls to ipsec_enabled() added in 179ab6b364
Diffstat (limited to 'src/usr/local/www/firewall_nat_npt_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_npt_edit.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_nat_npt_edit.php b/src/usr/local/www/firewall_nat_npt_edit.php
index f29806d..7fca814 100644
--- a/src/usr/local/www/firewall_nat_npt_edit.php
+++ b/src/usr/local/www/firewall_nat_npt_edit.php
@@ -64,6 +64,8 @@
##|*MATCH=firewall_nat_npt_edit.php*
##|-PRIV
+require_once("ipsec.inc");
+
function natnptcmp($a, $b) {
return ipcmp($a['external'], $b['external']);
}
OpenPOWER on IntegriCloud