summaryrefslogtreecommitdiffstats
path: root/cgi-bin/provisioning.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/provisioning.cgi')
-rwxr-xr-xcgi-bin/provisioning.cgi7
1 files changed, 6 insertions, 1 deletions
diff --git a/cgi-bin/provisioning.cgi b/cgi-bin/provisioning.cgi
index 67381bb..fcad3a1 100755
--- a/cgi-bin/provisioning.cgi
+++ b/cgi-bin/provisioning.cgi
@@ -113,7 +113,12 @@ if ( request_method == "GET" ) then
http_code(302)
log:close()
os.exit()
- end
+ -- If it's a Grandstream, 404 the cfgMAC without extension
+ elseif string.match(user_agent, "Grandstream") and (f=="") then
+ http_code(404)
+ log:close()
+ os.exit()
+ end
log:write("Checking PROV Table for results\n")
-- Load the ACF mvc