Skip to content

immediate os error in osx and linux platform #12

@yangbh

Description

@yangbh

pypcap v1.1.4

in mac osx, if i set immediate=False, can not sniff any packet
if i set immediate=True, my code works right

in linux, if i set immediate=True, it will throws this execption
File "/root/work/pytscan/pytscan/scan.py", line 735, in pypcapParse
pc = pcap.pcap(name=self.iface,immediate=True)
File "pcap.pyx", line 210, in pcap.pcap.init (pcap.c:1773)
OSError: couldn't enable immediate mode

thank you, guys

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions