From 2e27a60d199f6739c3c6605517f3b9f7fcff3fea Mon Sep 17 00:00:00 2001 From: Stefan `Sec` Zehl Date: Fri, 27 Jan 2012 00:04:41 +0100 Subject: [PATCH] mesh/dbg.pl: parse new release no from time packet --- tools/mesh/dbg.pl | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tools/mesh/dbg.pl b/tools/mesh/dbg.pl index 667591b..887cd38 100755 --- a/tools/mesh/dbg.pl +++ b/tools/mesh/dbg.pl @@ -137,8 +137,9 @@ if($cmd =~ /^r/){ print "t="; # print unpack("N",substr($str,2,4))," "; print strftime("%Y-%m-%d %H:%M:%S",gmtime unpack("N",substr($str,2,4))); - printf " (%+3d) ",unpack("N",substr($str,2,4))-(time+3600); - print "beacon=",resolvebeacon(unpack("H*",substr($str,26,4)))," "; + printf " (%+3d)",unpack("N",substr($str,2,4))-(time+3600); + print " rel=",unpack("H*",substr($str,24,2)); + print " beacon=",resolvebeacon(unpack("H*",substr($str,26,4)))," "; }elsif($i eq "i"){ print "score=",unpack("N",substr($str,2,4))," "; print "nick=",unpack("Z*",substr($str,6,length($str)-8))," ";