diff options
author | Phil Davis <phil.davis@world.inf.org> | 2013-09-03 18:03:59 -0700 |
---|---|---|
committer | Phil Davis <phil.davis@world.inf.org> | 2013-09-03 18:03:59 -0700 |
commit | 3b6596b740713144ad3a6eb643975e3475ed0981 (patch) | |
tree | 026226c44d02fe0fddec3d4d805802bf521d9aff /etc/inc | |
parent | 81d81b942b5a6e81b97d2d0b159ae2bdcb739bd4 (diff) | |
download | pfsense-3b6596b740713144ad3a6eb643975e3475ed0981.zip pfsense-3b6596b740713144ad3a6eb643975e3475ed0981.tar.gz |
filter_generate_port error log function name
Absolutely minor adjustment to make the error log message refer to the new function name.
Diffstat (limited to 'etc/inc')
-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 ab9f779..7e9e632 100644 --- a/etc/inc/filter.inc +++ b/etc/inc/filter.inc @@ -1956,7 +1956,7 @@ function filter_generate_port(& $rule, $target = "source", $isnat = false) { $srcport = explode("-", $rule[$target]['port']); $srcporta = alias_expand($srcport[0]); if(!$srcporta) - log_error(sprintf(gettext("filter_generate_address: %s is not a valid {$target} port."), $srcport[0])); + log_error(sprintf(gettext("filter_generate_port: %s is not a valid {$target} port."), $srcport[0])); else if((!$srcport[1]) || ($srcport[0] == $srcport[1])) { $src .= " port {$srcporta} "; } else if(($srcport[0] == 1) && ($srcport[1] == 65535)) { |