diff --git a/doc/scapy/build_dissect.rst b/doc/scapy/build_dissect.rst index 3312edde5..93566012d 100644 --- a/doc/scapy/build_dissect.rst +++ b/doc/scapy/build_dissect.rst @@ -875,7 +875,8 @@ Legend: LESignedIntField XIntField - LongField + LongField + LELongField XLongField LELongField diff --git a/scapy/fields.py b/scapy/fields.py index 818922819..66a55b2e4 100644 --- a/scapy/fields.py +++ b/scapy/fields.py @@ -365,6 +365,10 @@ class LongField(Field): def __init__(self, name, default): Field.__init__(self, name, default, "Q") +class LELongField(LongField): + def __init__(self, name, default): + Field.__init__(self, name, default, "