From 7a13b92ebbe5b8f186b7c45dc57e7a28fe40e7a6 Mon Sep 17 00:00:00 2001
From: Pierre LALET <pierre.lalet@cea.fr>
Date: Wed, 21 Dec 2016 12:52:08 +0100
Subject: [PATCH] Fix super() call

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

diff --git a/scapy/asn1fields.py b/scapy/asn1fields.py
index d368f4c0..d5d1add3 100644
--- a/scapy/asn1fields.py
+++ b/scapy/asn1fields.py
@@ -182,7 +182,7 @@ class ASN1F_enum_INTEGER(ASN1F_INTEGER):
     def i2m(self, pkt, s):
         if isinstance(s, str):
             s = self.s2i.get(s)
-        return super(ASN1F_INTEGER, self).i2m(pkt, s)
+        return super(ASN1F_enum_INTEGER, self).i2m(pkt, s)
     def i2repr(self, pkt, x):
         if x is not None and isinstance(x, ASN1_INTEGER):
             r = self.i2s.get(x.val)
-- 
GitLab