Skip to content
Snippets Groups Projects
Commit 9de456a3 authored by Nick Mathewson's avatar Nick Mathewson :game_die:
Browse files

Merge remote-tracking branch 'origin/maint-0.2.4'

parents 30b8fc3e b8abaded
No related branches found
No related tags found
No related merge requests found
o Minor bugfixes:
- When examining list of network interfaces to find our address, do
not consider non-running or disabled network interfaces. Fixes bug
9904; bugfix on 0.2.3.11-alpha. Patch from "hantwister".
......@@ -1188,6 +1188,8 @@ get_interface_addresses_raw(int severity)
result = smartlist_new();
for (i = ifa; i; i = i->ifa_next) {
tor_addr_t tmp;
if ((i->ifa_flags & (IFF_UP | IFF_RUNNING)) != (IFF_UP | IFF_RUNNING))
continue;
if (!i->ifa_addr)
continue;
if (i->ifa_addr->sa_family != AF_INET &&
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment