X-Git-Url: http://git.rot13.org/?p=goodfet;a=blobdiff_plain;f=client%2FGoodFETNRF.py;h=82cfbb436b5af3b327676d6c08aa10db23a1e0f9;hp=007ae0f2e3e19da299d15f43a395afd550dfb2c3;hb=ba447ec2175b15e3f9368c6dd18988215b36b84b;hpb=7d033e4958693f8a618679d49eeae0ed735f996b diff --git a/client/GoodFETNRF.py b/client/GoodFETNRF.py index 007ae0f..82cfbb4 100644 --- a/client/GoodFETNRF.py +++ b/client/GoodFETNRF.py @@ -163,7 +163,7 @@ class GoodFETNRF(GoodFET): maclen=5; def RF_getmaclen(self): """Get the number of bytes in the MAC address.""" - choices=["illegal", 3, 4, 5]; + choices=[0, 3, 4, 5]; choice=self.peek(0x03)&3; self.maclen=choices[choice]; return self.maclen;