luci-app-bcp38: improve interface selection dropdown 1905/head
authorKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 23 Jun 2018 07:43:00 +0000 (08:43 +0100)
committerKevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
Sat, 23 Jun 2018 07:52:14 +0000 (08:52 +0100)
commit65cfbd8f759b97f2dc2fe3e2468172681747a78c
tree6652d4a7791376d30546cfa18a061f5ebfbfbbea
parent5142e40f9e70a09653e07a4dbc2abd6db3da36e4
luci-app-bcp38: improve interface selection dropdown

Certain types of interface were excluded from bcp38's concept of
upstream wan interface e.g. pppoa-wan

Shamelessly copies the interface list generation from luci-app-sqm which
solved exactly the same problem and gives additional clues by displaying
the firewall zone (typically wan/lan etc)

Run-tested-on: DGN3500

Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
applications/luci-app-bcp38/luasrc/model/cbi/bcp38.lua