From afd9299582949522d1344afc5beade4d6348ad47 Mon Sep 17 00:00:00 2001 From: Ted Trask Date: Tue, 19 Aug 2014 00:18:48 +0000 Subject: Add support for Cisco 2 Port Phone Adapter SPA112 --- cgi-bin/provisioning.cgi | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'cgi-bin/provisioning.cgi') 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") -- cgit v1.2.3