bdraco / aiodiscover

Discover Hosts via ARP and PTR lookup

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

I think need fix get_local_ip() function.

bongdang opened this issue · comments

Hi.

get_local_ip function in network.py doing some wired action.
Connecting to "(10.255.255.255", 1) generate exception in my env. How about change to ("8.8.8.8", 1)?
My env ls 10.X.X.X private IP networks.

Thanks.

Reproduction

A minimal example that exhibits the behavior.

Environment

Any additional information about your environment

Fixed via #26