diff options
author | smos <seth.mos@dds.nl> | 2011-02-24 14:09:16 +0100 |
---|---|---|
committer | smos <seth.mos@dds.nl> | 2011-02-24 14:10:06 +0100 |
commit | 3acab378e87aa2c17d56a4642f4cf9177512cc12 (patch) | |
tree | 90945eaccae899e7fb8d1a552768c315025a4525 /usr/local/www | |
parent | 003d1b3dab740c4ebcd6fcaf2f9b082f813f37fc (diff) | |
download | pfsense-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/www')
-rw-r--r-- | usr/local/www/vpn_ipsec_phase1.php | 2 |
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']}"); } } |