summaryrefslogtreecommitdiff
path: root/scripts/vyatta-update-dst-nat.pl
diff options
context:
space:
mode:
Diffstat (limited to 'scripts/vyatta-update-dst-nat.pl')
-rwxr-xr-xscripts/vyatta-update-dst-nat.pl4
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/vyatta-update-dst-nat.pl b/scripts/vyatta-update-dst-nat.pl
index 7d81198..4a2fb9a 100755
--- a/scripts/vyatta-update-dst-nat.pl
+++ b/scripts/vyatta-update-dst-nat.pl
@@ -103,8 +103,8 @@ for $rule (@rule_keys) {
my ($err, @rule_strs) = $nrule->rule_str();
if (defined $err) {
# rule check failed => return error
- print OUT "NAT configuration error: $err\n";
- print STDERR "NAT configuration error: $err\n";
+ print OUT "Destination NAT configuration error in rule $rule: $err\n";
+ print STDERR "Destination NAT configuration error in rule $rule: $err\n";
exit 5;
}