summaryrefslogtreecommitdiffstats
path: root/etc
diff options
context:
space:
mode:
authorErmal <eri@pfsense.org>2011-05-27 08:24:32 +0000
committerErmal <eri@pfsense.org>2011-05-27 08:24:32 +0000
commit224ddbadab18d56f6f6ffef408ff24f3c5161303 (patch)
tree8976d789205edde870dbc14b7493245df79530d0 /etc
parentdfb30a896c7c6ccbc19330d8cc2ef00e20725f2c (diff)
downloadpfsense-224ddbadab18d56f6f6ffef408ff24f3c5161303.zip
pfsense-224ddbadab18d56f6f6ffef408ff24f3c5161303.tar.gz
Silence the route changing since it fills the logs with not needed info.
Diffstat (limited to 'etc')
-rw-r--r--etc/inc/vpn.inc3
1 files changed, 1 insertions, 2 deletions
diff --git a/etc/inc/vpn.inc b/etc/inc/vpn.inc
index f595c9b..2411caf 100644
--- a/etc/inc/vpn.inc
+++ b/etc/inc/vpn.inc
@@ -864,8 +864,7 @@ EOD;
/* FIXME: does adding route-to and reply-to on the in/outbound
* rules fix this? smos@ 13-01-2009 */
// log_error("IPSEC interface is not WAN but {$parentinterface}, adding static route for VPN endpoint {$rgip} via {$gatewayip}");
- mwexec("/sbin/route delete -host {$rgip}");
- mwexec("/sbin/route add -host {$rgip} {$gatewayip}");
+ mwexec("/sbin/route delete -host {$rgip}; /sbin/route add -host {$rgip} {$gatewayip}", true);
}
}
}
OpenPOWER on IntegriCloud