diff options
author | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-09-13 09:40:58 -0700 |
---|---|---|
committer | Gaurav Sinha <gaurav.sinha@vyatta.com> | 2012-09-13 09:40:58 -0700 |
commit | 5ac00315310ba43ee634b3570d9ae5d156cd2f3a (patch) | |
tree | 7184c8a36bd51e570679173b3f7b0797e55894c6 /lib/Vyatta | |
parent | 2af61dbec2921a8e15749f49cbbff4f8b59eaff9 (diff) | |
download | vyatta-cfg-firewall-5ac00315310ba43ee634b3570d9ae5d156cd2f3a.tar.gz vyatta-cfg-firewall-5ac00315310ba43ee634b3570d9ae5d156cd2f3a.zip |
8330: return rule number in error message
Diffstat (limited to 'lib/Vyatta')
-rwxr-xr-x | lib/Vyatta/IpTables/Rule.pm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Vyatta/IpTables/Rule.pm b/lib/Vyatta/IpTables/Rule.pm index ee4f4e8..51b5bea 100755 --- a/lib/Vyatta/IpTables/Rule.pm +++ b/lib/Vyatta/IpTables/Rule.pm @@ -637,7 +637,7 @@ first character capitalized eg. Mon,Thu,Sat For negation, add ! in front eg. !Mo return ('Cannot define more than "set" parameter per policy route'); } } else { - return ("\"action\" must be defined", ); + return ("\"action\" must be defined in rule $rule_num", ); } if (defined($rule2)) { my $tmp = $rule2; |