luci-app-rp-pppoe-server: use netlist template 5770/head
authorDaniell Crossman <dc@dx.id.au>
Wed, 20 Apr 2022 08:09:40 +0000 (16:09 +0800)
committerDaniell Crossman <dc@dx.id.au>
Wed, 20 Apr 2022 08:09:40 +0000 (16:09 +0800)
pppoe-server init script is expecting an interface name,
not a physical device name in the pppoe config.

Signed-off-by: Daniell Crossman <dc@dx.id.au>
applications/luci-app-rp-pppoe-server/luasrc/model/cbi/rp-pppoe-server.lua

index b86b06cf1a730fd9d13387a4506de888fdbf5f5b..91e1e5453263d8d9c9eff4edd5dc7b8057a50851 100644 (file)
@@ -13,7 +13,7 @@ s.addremove = true
 s.anonymous = true
 
 o = s:option(Value, "interface", translate("Interface"), translate("Interface on which to listen."))
-o.template = "cbi/network_ifacelist"
+o.template = "cbi/network_netlist"
 o.nocreate = true
 
 o = s:option(Value, "ac_name", translate("Access Concentrator Name"))