mirror of
https://github.com/home-assistant/core.git
synced 2025-07-19 03:07:37 +00:00
dhcp does not need promisc mode. Disable it in scapy (#46018)
This commit is contained in:
parent
60268e63d9
commit
b9f9de0c1d
@ -282,4 +282,6 @@ def _verify_l2socket_creation_permission():
|
|||||||
thread so we will not be able to capture
|
thread so we will not be able to capture
|
||||||
any permission or bind errors.
|
any permission or bind errors.
|
||||||
"""
|
"""
|
||||||
|
# disable scapy promiscuous mode as we do not need it
|
||||||
|
conf.sniff_promisc = 0
|
||||||
conf.L2socket()
|
conf.L2socket()
|
||||||
|
Loading…
x
Reference in New Issue
Block a user