We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3b6ec7f commit 44e4121Copy full SHA for 44e4121
scapy/arch/linux.py
@@ -494,7 +494,7 @@ def __init__(self,
494
if filter is not None:
495
try:
496
attach_filter(self.ins, filter, self.iface)
497
- except ImportError as ex:
+ except (ImportError, Scapy_Exception) as ex:
498
log_runtime.error("Cannot set filter: %s", ex)
499
if self.promisc:
500
set_promisc(self.ins, self.iface)
0 commit comments