diff --git a/scapy/fields.py b/scapy/fields.py index db0b3ca08534200de5302e597bc227f6c55e18e3..ad9c9a76af9e430b1c4f1e08b57a1b96dfd6b0b5 100644 --- a/scapy/fields.py +++ b/scapy/fields.py @@ -874,7 +874,7 @@ class LELongField(Field): # Little endian fixed length field class LEFieldLenField(FieldLenField): def __init__(self, name, default, length_of=None, fmt = "<H", count_of=None, adjust=lambda pkt,x:x, fld=None): - FieldLenField.__init__(self, name, default, length_of=length_of, fmt=fmt, fld=fld, adjust=adjust) + FieldLenField.__init__(self, name, default, length_of=length_of, fmt=fmt, count_of=count_of, fld=fld, adjust=adjust) class FlagsField(BitField):