fix never retrieved timeout
This commit is contained in:
parent
838823227b
commit
0b4c3cda8d
1 changed files with 2 additions and 3 deletions
|
@ -165,9 +165,8 @@ class Gateway:
|
|||
]
|
||||
while True:
|
||||
if not igd_args:
|
||||
m_search_args, datagram = await asyncio.wait_for(
|
||||
fuzzy_m_search(lan_address, gateway_address, timeout, loop, ignored, unicast),
|
||||
timeout
|
||||
m_search_args, datagram = await fuzzy_m_search(
|
||||
lan_address, gateway_address, timeout, loop, ignored, unicast
|
||||
)
|
||||
else:
|
||||
m_search_args = OrderedDict(igd_args)
|
||||
|
|
Loading…
Reference in a new issue