summaryrefslogtreecommitdiffstats
path: root/etc/inc/vpn.inc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2014-08-08 13:40:14 +0000
committerErmal <eri@pfsense.org>2014-08-08 13:40:14 +0000
commitbf8aab8244ffdab467c474d748f0cd9b25c8c6fe (patch)
tree834fac5b1c2b13b13a2edda7e9dd1bce7711c0cc /etc/inc/vpn.inc
parent67067ea304060ee17b8dd01ff5eee80b0b1ddc15 (diff)
downloadpfsense-bf8aab8244ffdab467c474d748f0cd9b25c8c6fe.zip
pfsense-bf8aab8244ffdab467c474d748f0cd9b25c8c6fe.tar.gz
Correct this so the dpdaction is created properly as restart
Diffstat (limited to 'etc/inc/vpn.inc')
-rw-r--r--etc/inc/vpn.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index 80eb1c0..607ec86 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -562,7 +562,7 @@ EOD;
}
if ($ph1ent['dpd_delay'] && $ph1ent['dpd_maxfail']) {
- if ($passive == "start")
+ if ($passive == "route")
$dpdline = "dpdaction = restart";
else
$dpdline = "dpdaction = clear";
OpenPOWER on IntegriCloud