summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStig Thormodsrud <stig@io.vyatta.com>2008-08-26 11:02:09 -0700
committerStig Thormodsrud <stig@io.vyatta.com>2008-08-26 11:02:09 -0700
commitd48778faae8df9897668d567219872ccb0b43119 (patch)
tree48314f5db93117128fe3dc706e608b34fc9f8452
parent68410c9702c1e04f25bfe84739aed463c3c92101 (diff)
downloadvyatta-op-d48778faae8df9897668d567219872ccb0b43119.tar.gz
vyatta-op-d48778faae8df9897668d567219872ccb0b43119.zip
Fix "show interfaces ethernet" after "clear interfaces counters"
command.
-rwxr-xr-xscripts/vyatta-show-interfaces.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/scripts/vyatta-show-interfaces.pl b/scripts/vyatta-show-interfaces.pl
index 7e76fa6..1e4038c 100755
--- a/scripts/vyatta-show-interfaces.pl
+++ b/scripts/vyatta-show-interfaces.pl
@@ -333,7 +333,7 @@ sub run_clear_intf {
print $FILE $clear_file_magic, "\n", time(), "\n";
my ($var, $val);
while (($var, $val) = each (%stats)) {
- print $FILE $var, ",", $val;
+ print $FILE $var, ",", $val, "\n";
}
close($FILE);
}