diff options
-rwxr-xr-x | scripts/vyatta-show-nat-rules.pl | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/scripts/vyatta-show-nat-rules.pl b/scripts/vyatta-show-nat-rules.pl index 8c4f1da..ed21020 100755 --- a/scripts/vyatta-show-nat-rules.pl +++ b/scripts/vyatta-show-nat-rules.pl @@ -247,8 +247,7 @@ for $rule (@rules) { print "\n"; printf ($format2, $protocol, $translation_port_str); print "\n"; - printf ($format1, "", "", $condition) if $condition ne ""; - print "\n"; + printf ($format1, "", "", "$condition\n") if $condition; } print "\n"; |