luci-mod-network: rename "device" option to "_net_device" internally
authorJo-Philipp Wich <jo@mein.io>
Tue, 1 Jun 2021 13:27:24 +0000 (15:27 +0200)
committerJo-Philipp Wich <jo@mein.io>
Sat, 12 Jun 2021 17:23:18 +0000 (19:23 +0200)
commit56cd1abbe850d6482db964e2dec3055441a7a2cf
tree7c227cdfc921e286904d6a059681530135cdedb6
parentcaa0abf99a2585034d3cc26f1ae67f1cca8523a3
luci-mod-network: rename "device" option to "_net_device" internally

This is required to resolve conflicts with the existing "device" option
in other proto handlers such as PPP or QMI where "device" refers to the
device path of the tty control device instead of a netdev name.

Signed-off-by: Jo-Philipp Wich <jo@mein.io>
(cherry picked from commit 10f02472c5fdab72615a7d3695e8f354811cd661)
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js