[fluksod] return timestamp as first part of the delta reply

This commit is contained in:
Bart Van Der Meerssche 2011-01-24 18:53:51 +01:00
parent 728ac3e059
commit 8d28890acb
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ function decode(msg)
nixio.bin.hextonum(msg.decoded.args:sub((i-1)*18 + 11, (i-1)*18 + 18))
end
msg.decoded.delta = msg.decoded.cmd .. ' ' .. table.concat(msg.decoded, ' ')
msg.decoded.delta = os.time() .. ' ' .. table.concat(msg.decoded, ' ')
elseif msg.decoded.cmd == 'gv' then
elseif msg.decoded.cmd == 'gp' then