Skip to content

Commit

Permalink
#1288: netifaces is also broken on freebsd
Browse files Browse the repository at this point in the history
git-svn-id: https://xpra.org/svn/Xpra/trunk@13420 3bb7dfac-3a0b-4e04-842a-767bc560f471
  • Loading branch information
totaam committed Aug 22, 2016
1 parent 92a2bb7 commit 9d134bc
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/xpra/net/net_util.py
Expand Up @@ -34,8 +34,8 @@ def get_interfaces():
def get_gateways():
if not has_netifaces:
return {}
#no idea why, but this causes crashes on OSX:
if sys.platform.startswith("darwin"):
#no idea why, but this causes crashes on OSX and FreeBSD:
if sys.platform.startswith("darwin") or sys.platform.startswith("freebsd"):
return {}
try:
d = netifaces.gateways()
Expand Down

0 comments on commit 9d134bc

Please sign in to comment.