summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@vyatta.com>2008-08-06 19:00:22 -0700
committerStig Thormodsrud <stig@vyatta.com>2008-08-06 19:00:22 -0700
commit72910ff705e3df5888399471beeccb80ebdd8863 (patch)
tree1f331188766f340123341d95997c1865253d9425
parent177108f7c6de8af36164ea247267e91851432222 (diff)
downloadvyatta-nat-72910ff705e3df5888399471beeccb80ebdd8863.tar.gz
vyatta-nat-72910ff705e3df5888399471beeccb80ebdd8863.zip
Fix typo.
-rwxr-xr-xscripts/vyatta-nat-translations.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-nat-translations.pl b/scripts/vyatta-nat-translations.pl
index a272725..abd5f5c 100755
--- a/scripts/vyatta-nat-translations.pl
+++ b/scripts/vyatta-nat-translations.pl
@@ -190,7 +190,7 @@ my $xs = XML::Simple->new(ForceArray => 1, KeepRoot => 0);
my ($xml, $data);
# flush stdout after every write for pipe mode
-$! = 1 if defined $pipe;
+$| = 1 if defined $pipe;
if (defined $verbose) {
printf($verbose_format, 'Pre-NAT src', 'Pre-NAT dst',