From 44d8b52b19c2b41a6ebffa37e40be157f101e7cc Mon Sep 17 00:00:00 2001
From: Pierre LALET <pierre.lalet@cea.fr>
Date: Sat, 16 Jan 2016 19:00:36 +0100
Subject: [PATCH] Fix contrib HomePlugAV after 9dff11b6

---
 scapy/contrib/HomePlugAV.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/scapy/contrib/HomePlugAV.py b/scapy/contrib/HomePlugAV.py
index 25306142..14b65831 100644
--- a/scapy/contrib/HomePlugAV.py
+++ b/scapy/contrib/HomePlugAV.py
@@ -658,7 +658,7 @@ class ModulePIB(Packet):
             /!\ A wrong slice would produce 'bad' results
     """
     name = "ModulePIB"
-    __slots__ = ["__offset", "__length"]
+    __slots__ = ["_ModulePIB__offset", "_ModulePIB__length"]
     fields_desc=[
         ConditionalField(XByteField("FirmwareMajorVersion", 0x00),
                          lambda pkt:(0x0 == pkt.__offset and 0x1 <= pkt.__offset+pkt.__length)), # The following conditional fiels just check if the current field fits in the data range
-- 
GitLab