diff options
author | Stig Thormodsrud <stig@io.vyatta.com> | 2008-08-26 11:02:09 -0700 |
---|---|---|
committer | Stig Thormodsrud <stig@io.vyatta.com> | 2008-08-26 11:02:09 -0700 |
commit | d48778faae8df9897668d567219872ccb0b43119 (patch) | |
tree | 48314f5db93117128fe3dc706e608b34fc9f8452 | |
parent | 68410c9702c1e04f25bfe84739aed463c3c92101 (diff) | |
download | vyatta-op-d48778faae8df9897668d567219872ccb0b43119.tar.gz vyatta-op-d48778faae8df9897668d567219872ccb0b43119.zip |
Fix "show interfaces ethernet" after "clear interfaces counters"
command.
-rwxr-xr-x | scripts/vyatta-show-interfaces.pl | 2 |
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); } |