This is an automatic generated email to let you know that the following patch were queued at the http://git.linuxtv.org/v4l-utils.git tree:
Subject: parse_tcpdump_log.pl: Fix parsed output value Author: Mauro Carvalho Chehab <[email protected]> Date: Tue Mar 8 22:38:29 2011 -0300 %02x were producing wrong values. Use %s instead. Signed-off-by: Mauro Carvalho Chehab <[email protected]> contrib/parse_tcpdump_log.pl | 6 +++--- 1 files changed, 3 insertions(+), 3 deletions(-) --- http://git.linuxtv.org/v4l-utils.git?a=commitdiff;h=0456d99ba04d004a874f06cdbf5fd13b9b2144ee diff --git a/contrib/parse_tcpdump_log.pl b/contrib/parse_tcpdump_log.pl index ffb23f0..033e162 100755 --- a/contrib/parse_tcpdump_log.pl +++ b/contrib/parse_tcpdump_log.pl @@ -57,13 +57,13 @@ sub print_frame($$) my $app_data = substr($req{"Payload"}, 24 * 2); while ($app_data ne "") { - printf " %02x", substr($app_data, 0, 2); + printf " %s", substr($app_data, 0, 2); $app_data = substr($app_data, 2); } my $app_data = substr($resp{"Payload"}, 24 * 2); while ($app_data ne "") { - printf " %02x", substr($app_data, 0, 2); + printf " %s", substr($app_data, 0, 2); $app_data = substr($app_data, 2); } @@ -229,4 +229,4 @@ sub parse_file($) } # Main program -parse_file $filename; \ No newline at end of file +parse_file $filename; _______________________________________________ linuxtv-commits mailing list [email protected] http://www.linuxtv.org/cgi-bin/mailman/listinfo/linuxtv-commits
