From eed584766f07ff7b6e033f7ffba551140585a714 Mon Sep 17 00:00:00 2001 From: George Hunt Date: Thu, 6 Dec 2018 02:27:35 +0000 Subject: [PATCH] go directly to box.lan/home for android 7 --- roles/captive-portal/templates/capture-wsgi.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/roles/captive-portal/templates/capture-wsgi.py b/roles/captive-portal/templates/capture-wsgi.py index ec6c10208..3f3bc9af7 100755 --- a/roles/captive-portal/templates/capture-wsgi.py +++ b/roles/captive-portal/templates/capture-wsgi.py @@ -230,7 +230,7 @@ def android(environ, start_response): logger.debug("system < 6:%s"%system_version) location = '/android_splash' set_204after(ip,0) - elif system_version.startswith('8'): + elif system_version.startswith('7'): location = "http://" + fully_qualified_domain_name + "/home" else: #set_204after(ip,20)