From d48778faae8df9897668d567219872ccb0b43119 Mon Sep 17 00:00:00 2001 From: Stig Thormodsrud Date: Tue, 26 Aug 2008 11:02:09 -0700 Subject: Fix "show interfaces ethernet" after "clear interfaces counters" command. --- scripts/vyatta-show-interfaces.pl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'scripts') 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); } -- cgit v1.2.3