From 2d102d2821a9f2d87f92102370ddb5b066fc282a Mon Sep 17 00:00:00 2001 From: phil Date: Sun, 15 Sep 2024 18:40:50 +0200 Subject: [PATCH] Fix: make sure ObjectPipe does not overwrite sensible defaut name by Pipe class --- scapy/pipetool.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scapy/pipetool.py b/scapy/pipetool.py index 0034b66fc68..cfe48ce0945 100644 --- a/scapy/pipetool.py +++ b/scapy/pipetool.py @@ -357,8 +357,8 @@ def stop(self): class Source(Pipe, ObjectPipe[Any]): def __init__(self, name=None): # type: (Optional[str]) -> None - Pipe.__init__(self, name=name) ObjectPipe.__init__(self, name) + Pipe.__init__(self, name=name) self.is_exhausted = False def _read_message(self):