diff --git a/upnpd/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua b/upnpd/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua index 2e07e08..867519f 100644 --- a/upnpd/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua +++ b/upnpd/luci-app-upnp/luasrc/model/cbi/upnp/upnp.lua @@ -2,7 +2,7 @@ -- Copyright 2008-2011 Jo-Philipp Wich -- Licensed to the public under the Apache License 2.0. local uci = require 'luci.model.uci'.cursor() -local gateip = 'http://' .. uci:get_first('network', 'lan', 'ipaddr') +local gateip="http://"..uci:get_first('network', 'lan', 'ipaddr') require("luci.tools.webadmin") m = Map("upnpd", luci.util.pcdata(translate("Universal Plug & Play")), translate("UPnP allows clients in the local network to automatically configure the router."))