From 20f1f86de432454dbc389b50ab571c7b8616bec6 Mon Sep 17 00:00:00 2001 From: Guillaume Valadon Date: Tue, 16 Feb 2016 13:41:35 +0100 Subject: [PATCH] 0b0000 is not supported in Python 2.5 --- scapy/contrib/HomePlugAV.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/scapy/contrib/HomePlugAV.py b/scapy/contrib/HomePlugAV.py index 54f962985..a3fb670c8 100644 --- a/scapy/contrib/HomePlugAV.py +++ b/scapy/contrib/HomePlugAV.py @@ -225,8 +225,8 @@ class StationInfoV11(Packet): X3BytesField("reserved_s2", 0x000000), MACField("firstnodeMAC", "ff:ff:ff:ff:ff:ff"), LEShortField("TXaverage", 0x0000), - BitField("RxCoupling", 0b0000, 4), - BitField("TxCoupling", 0b0000, 4), + BitField("RxCoupling", 0, 4), + BitField("TxCoupling", 0, 4), XByteField("reserved_s3", 0x00), LEShortField("RXaverage", 0x0000), XByteField("reserved_s4", 0x00) ]