summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGaurav Sinha <gaurav.sinha@vyatta.com>2012-09-13 09:40:58 -0700
committerGaurav Sinha <gaurav.sinha@vyatta.com>2012-09-13 09:40:58 -0700
commit5ac00315310ba43ee634b3570d9ae5d156cd2f3a (patch)
tree7184c8a36bd51e570679173b3f7b0797e55894c6
parent2af61dbec2921a8e15749f49cbbff4f8b59eaff9 (diff)
downloadvyatta-cfg-firewall-5ac00315310ba43ee634b3570d9ae5d156cd2f3a.tar.gz
vyatta-cfg-firewall-5ac00315310ba43ee634b3570d9ae5d156cd2f3a.zip
8330: return rule number in error message
-rwxr-xr-xlib/Vyatta/IpTables/Rule.pm2
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;