summaryrefslogtreecommitdiffstats
path: root/etc/inc/filter.inc
diff options
context:
space:
mode:
authorDmitriy K. <DasTestament@users.noreply.github.com>2014-12-01 14:06:28 +0300
committerDmitriy K. <DasTestament@users.noreply.github.com>2014-12-01 14:06:28 +0300
commit4dd7ca8041715a9c84a7f259b69b71e98985e452 (patch)
treee8ab3d85e64ac2a4f5ff18db2c2811b373175439 /etc/inc/filter.inc
parent7ceff68a5880f93596b7a27736344500d09db0da (diff)
downloadpfsense-4dd7ca8041715a9c84a7f259b69b71e98985e452.zip
pfsense-4dd7ca8041715a9c84a7f259b69b71e98985e452.tar.gz
Update filter.inc
Add missing gettext. p.s: Is it really needed to log? Lots of rules causes lots of spam on ifaces without gw. Such kind of this logging should be controllable by user via option at least.
Diffstat (limited to 'etc/inc/filter.inc')
-rw-r--r--etc/inc/filter.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/etc/inc/filter.inc b/etc/inc/filter.inc
index 269aa30..2c04067 100644
--- a/etc/inc/filter.inc
+++ b/etc/inc/filter.inc
@@ -2377,7 +2377,7 @@ function filter_generate_user_rule($rule) {
if (is_ipaddrv6($rg))
$aline['reply'] = "reply-to ( {$ifcfg['ifv6']} {$rg} ) ";
else if ($rule['interface'] <> "pptp")
- log_error("Could not find IPv6 gateway for interface({$rule['interface']}).");
+ log_error(sprintf(gettext("Could not find IPv6 gateway for interface (%s)."), $rule['interface']));
} else {
$rg = get_interface_gateway($rule['interface']);
if (is_ipaddrv4($rg))
OpenPOWER on IntegriCloud