summaryrefslogtreecommitdiffstats
path: root/etc/inc/gwlb.inc
diff options
context:
space:
mode:
authorVinicius Coque <vinicius.coque@bluepex.com>2011-02-11 09:40:03 -0200
committerVinicius Coque <vinicius.coque@bluepex.com>2011-02-11 09:40:03 -0200
commitb845290619244e8cfe3bc2aa6271c6629eeb86b5 (patch)
treea2f96ef29ebea0317f10d29f7510ab9fbdeb0cc0 /etc/inc/gwlb.inc
parenta120c194b5d55f806d3402a30d68594b6b9994f5 (diff)
downloadpfsense-b845290619244e8cfe3bc2aa6271c6629eeb86b5.zip
pfsense-b845290619244e8cfe3bc2aa6271c6629eeb86b5.tar.gz
BP: fix syntax error on gettext implementation
Diffstat (limited to 'etc/inc/gwlb.inc')
-rw-r--r--etc/inc/gwlb.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/gwlb.inc b/etc/inc/gwlb.inc
index 1dcd6c1..8ca69cc 100644
--- a/etc/inc/gwlb.inc
+++ b/etc/inc/gwlb.inc
@@ -210,7 +210,7 @@ EOD;
* not strictly necessary but is a added level of protection.
*/
if (is_ipaddr($gateway['gateway']) && $gateway['monitor'] != $gateway['gateway']) {
- log_error(sprintf(gettext('Removing static route for monitor %1$s and adding a new route through %2$s'), $gateway['monitor']. $gateway['gateway']));
+ log_error(sprintf(gettext('Removing static route for monitor %1$s and adding a new route through %2$s'), $gateway['monitor'], $gateway['gateway']));
mwexec("/sbin/route delete -host " . escapeshellarg($gateway['monitor']), true);
mwexec("/sbin/route add -host " . escapeshellarg($gateway['monitor']) .
" " . escapeshellarg($gateway['gateway']), true);
OpenPOWER on IntegriCloud