X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETMCPCAN.py;h=46c8ec4b3676b1687a576c084f0082f522093fa0;hp=0232b287e79dc0b3bfc78efe1121fc626525943f;hb=e69fa827ffcc6d978d9cf6b4ce967327e276d224;hpb=17022d65913af952c0f6ebe367fa3f52fe129da2 diff --git a/client/GoodFETMCPCAN.py b/client/GoodFETMCPCAN.py index 0232b28..46c8ec4 100644 --- a/client/GoodFETMCPCAN.py +++ b/client/GoodFETMCPCAN.py @@ -329,7 +329,7 @@ class GoodFETMCPCAN(GoodFETSPI): def packet2parsedstr(self,data): packet = self.packet2parsed(data) - msg = "sID: %04d" %sId + msg = "sID: %04d" %packet['sId'] if( packetParsed.get('eID')): msg += " eID: %d" %packetParsed.get('eID') msg += " rtr: %d"%packetParsed['rtr']