summaryrefslogtreecommitdiffstats
path: root/usr/local
diff options
context:
space:
mode:
authorsmos <seth.mos@dds.nl>2011-02-24 14:09:16 +0100
committersmos <seth.mos@dds.nl>2011-02-24 14:10:06 +0100
commit3acab378e87aa2c17d56a4642f4cf9177512cc12 (patch)
tree90945eaccae899e7fb8d1a552768c315025a4525 /usr/local
parent003d1b3dab740c4ebcd6fcaf2f9b082f813f37fc (diff)
downloadpfsense-3acab378e87aa2c17d56a4642f4cf9177512cc12.zip
pfsense-3acab378e87aa2c17d56a4642f4cf9177512cc12.tar.gz
Correct variable name. This could never have deleted the static route for IPsec vpns on multi wan
Diffstat (limited to 'usr/local')
-rw-r--r--usr/local/www/vpn_ipsec_phase1.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/vpn_ipsec_phase1.php b/usr/local/www/vpn_ipsec_phase1.php
index 3a14f3b..12bb235 100644
--- a/usr/local/www/vpn_ipsec_phase1.php
+++ b/usr/local/www/vpn_ipsec_phase1.php
@@ -282,7 +282,7 @@ if ($_POST) {
/* the vpn_ipsec_configure() handles adding the route */
if ($pconfig['interface'] <> "wan") {
if($old_ph1ent['remote-gateway'] <> $pconfig['remotegw']) {
- mwexec("/sbin/route delete -host {$oldph1ent['remote-gateway']}");
+ mwexec("/sbin/route delete -host {$old_ph1ent['remote-gateway']}");
}
}
OpenPOWER on IntegriCloud