Skip to content

Commit 0a2b2bc

Browse files
authored
Unify dicts for Netflow fields (#4335)
1 parent 7ec4c51 commit 0a2b2bc

File tree

2 files changed

+1005
-1030
lines changed

2 files changed

+1005
-1030
lines changed

scapy/fields.py

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3483,8 +3483,6 @@ class UTCTimeField(Field[float, int]):
34833483
__slots__ = ["epoch", "delta", "strf",
34843484
"use_msec", "use_micro", "use_nano", "custom_scaling"]
34853485

3486-
# Do not change the order of the keywords in here
3487-
# Netflow heavily rely on this
34883486
def __init__(self,
34893487
name, # type: str
34903488
default, # type: int
@@ -3542,8 +3540,6 @@ def i2m(self, pkt, x):
35423540
class SecondsIntField(Field[float, int]):
35433541
__slots__ = ["use_msec", "use_micro", "use_nano"]
35443542

3545-
# Do not change the order of the keywords in here
3546-
# Netflow heavily rely on this
35473543
def __init__(self, name, default,
35483544
use_msec=False,
35493545
use_micro=False,

0 commit comments

Comments
 (0)