diff options
author | Dmitriy K. <DasTestament@users.noreply.github.com> | 2014-12-01 14:06:28 +0300 |
---|---|---|
committer | Dmitriy K. <DasTestament@users.noreply.github.com> | 2014-12-01 14:06:28 +0300 |
commit | 4dd7ca8041715a9c84a7f259b69b71e98985e452 (patch) | |
tree | e8ab3d85e64ac2a4f5ff18db2c2811b373175439 | |
parent | 7ceff68a5880f93596b7a27736344500d09db0da (diff) | |
download | pfsense-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.
-rw-r--r-- | etc/inc/filter.inc | 2 |
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)) |