Skip to content

Commit

Permalink
Fix GH4550 (#4561)
Browse files Browse the repository at this point in the history
  • Loading branch information
gpotter2 authored Oct 8, 2024
1 parent 93c9472 commit 6f0faf3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scapy/volatile.py
Original file line number Diff line number Diff line change
Expand Up @@ -577,6 +577,7 @@ def __init__(self, size, term):
# type: (Union[int, RandNum], bytes) -> None
self.term = bytes_encode(term)
super(RandTermString, self).__init__(size=size)
self.chars = self.chars.replace(self.term, b"")

def _command_args(self):
# type: () -> str
Expand Down

0 comments on commit 6f0faf3

Please sign in to comment.