Skip to content
Snippets Groups Projects
Commit d7b3bce2 authored by Phil's avatar Phil
Browse files

Fixed regression introduced by [e28139770a3a] on ASN1 fields

parent 8ae4ed72
No related branches found
No related tags found
No related merge requests found
......@@ -275,7 +275,7 @@ class ASN1F_PACKET(ASN1F_field):
c = cls(x)
except ASN1F_badsequence:
c = packet.Raw(x)
cpad = c[packet.Padding]
cpad = c.getlayer(packet.Padding)
x = ""
if cpad is not None:
x = cpad.load
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment