--- test/gvfs-test.orig	2018-03-12 06:41:25.000000000 -0700
+++ test/gvfs-test	2018-03-27 16:18:54.000000000 -0700
@@ -68,7 +68,7 @@
 have_httpd = httpd_cmd is not None
 sshd_path = shutil.which('sshd')
 
-local_ip = subprocess.check_output("ip -4 addr | sed -nr '/127\.0\.0/ n; "
+local_ip = subprocess.check_output("ifconfig -a | gsed -nr '/127\.0\.0/ n; "
                                    "/inet / {  s/^.*inet ([0-9.]+).*$/\\1/; p; q  }'",
                                    shell=True, universal_newlines=True)