Ticket #77 (closed defect: fixed)
sniff() do not call close() on the socket
| Reported by: | guedou@… | Owned by: | pbi |
|---|---|---|---|
| Priority: | low | Milestone: | |
| Component: | Scapy | Version: | |
| Keywords: | sniff | Cc: |
Description
And the solution:
$ hg diff scapy.py
diff -r 6fab21bb16b5 scapy.py
--- a/scapy.py Thu Dec 06 18:56:43 2007 +0100
+++ b/scapy.py Sat Jan 12 11:45:40 2008 +0100
@@ -11234,6 +11234,7 @@ L2socket: use the provided L2socket
break
except KeyboardInterrupt:
break
+ s.close()
return PacketList(lst,"Sniffed")
Attachments
Change History
Note: See
TracTickets for help on using
tickets.