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>
Tue, 1 Jun 2021 13:34:11 +0000 (15:34 +0200)
commit10f02472c5fdab72615a7d3695e8f354811cd661
tree2191050f3132f49aa34659d7fc32ead92772d449
parent26e21d43b5402d0c20bd2222429629c164968668
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>
modules/luci-mod-network/htdocs/luci-static/resources/view/network/interfaces.js