summaryrefslogtreecommitdiffstats
path: root/cgi-bin/provisioning.cgi
diff options
context:
space:
mode:
Diffstat (limited to 'cgi-bin/provisioning.cgi')
-rwxr-xr-xcgi-bin/provisioning.cgi4
1 files changed, 2 insertions, 2 deletions
diff --git a/cgi-bin/provisioning.cgi b/cgi-bin/provisioning.cgi
index 64e9134..6cc53c9 100755
--- a/cgi-bin/provisioning.cgi
+++ b/cgi-bin/provisioning.cgi
@@ -80,8 +80,8 @@ local basename = posix.basename(path_info)
local mac = string.match(basename, "%x%x%x%x%x%x%x%x%x%x%x%x")
if ( request_method == "GET" ) then
- -- Hack to allow download of config files with firmare URL, replacing $SERV with SERVER_NAME
- local firmwaretricks = {"Linksys", "snom"}
+ -- Hack to allow download of config files with firmware URL, replacing $SERV with SERVER_NAME
+ local firmwaretricks = {"Linksys", "Cisco", "snom"}
for i,n in ipairs(firmwaretricks) do
if string.match(user_agent, n) and posix.stat(root.."/"..n.."/"..basename) then
local f = io.open(root.."/"..n.."/"..basename, "r")