summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--etc/inc/filter.inc1
1 files changed, 1 insertions, 0 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index be4fc7d..529a7aa 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -3213,6 +3213,7 @@ function filter_generate_ipsec_rules() {
continue;
/* determine local and remote peer addresses */
if(!isset($ph1ent['mobile'])) {
+ require_once("ipsec.inc");
$rgip = ipsec_get_phase1_dst($ph1ent);
if(!$rgip) {
$ipfrules .= "# ERROR! Unable to determine remote IPsec peer address for {$ph1ent['remote-gateway']}\n";
OpenPOWER on IntegriCloud