Ticket #332 (new defect)
Opened 8 months ago
Old way of Windows console redirection in sniff() causes exception
| Reported by: | Dirk Loss | Owned by: | pbi |
|---|---|---|---|
| Priority: | minor | Milestone: | |
| Component: | Scapy | Version: | |
| Keywords: | windows | Cc: |
Description
Traceback (most recent call last):
File "arp_monitor.py", line 8, in <module>
sniff(prn=arp_monitor_callback, filter="arp", store=0)
File "c:\Python25\Lib\site-packages\scapy\arch\windows\__init__.py", line 521,
in sniff
print >> console, r
NameError: global name 'console' is not defined
Attachments
Note: See
TracTickets for help on using
tickets.