diff --git a/scapy/utils.py b/scapy/utils.py index bb51a51b63beb6267d457653f506c4e13992c643..adaf63fe11ae2e70f26aceb8148966121c055a96 100644 --- a/scapy/utils.py +++ b/scapy/utils.py @@ -548,6 +548,9 @@ class PcapReader: def fileno(self): return self.f.fileno() + + def close(self): + return self.f.close()