Skip to content

Commit

Permalink
Fix: make sure ObjectPipe does not overwrite sensible defaut name by …
Browse files Browse the repository at this point in the history
…Pipe class
  • Loading branch information
phil777 committed Sep 15, 2024
1 parent 30b0398 commit 2d102d2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scapy/pipetool.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
Expand Down

0 comments on commit 2d102d2

Please sign in to comment.