diff options
author | Chris Buechler <cmb@pfsense.org> | 2009-05-31 16:31:32 -0400 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2009-05-31 16:31:32 -0400 |
commit | 52cca3a46cf05e7952bf8967c838d164318201a1 (patch) | |
tree | 3a29b70dda9071a196de97b073862f2a624b0ac2 | |
parent | b04eb23bff28644937149e03a926eade412f70b7 (diff) | |
download | pfsense-52cca3a46cf05e7952bf8967c838d164318201a1.zip pfsense-52cca3a46cf05e7952bf8967c838d164318201a1.tar.gz |
fix route deletion
-rw-r--r-- | etc/inc/vpn.inc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc index e6ec6a7..4c035d2 100644 --- a/etc/inc/vpn.inc +++ b/etc/inc/vpn.inc @@ -804,7 +804,7 @@ EOD; } } } else { - if(stristr($route_str, "/{$rgip}/")) { + if(stristr($route_str, "{$rgip}")) { mwexec("/sbin/route delete -host {$rgip}"); } } @@ -1673,4 +1673,4 @@ function reload_tunnel_spd_policy($phase1, $phase2, $old_phase1, $old_phase2) { return true; } -?> +?>
\ No newline at end of file |