Commit graph

10 commits

Author SHA1 Message Date
Giovanni Giacobbi
af422b1924 treewide: removed trailing whitespaces and extra newlines in 'modules'
Signed-off-by: Giovanni Giacobbi <giovanni@giacobbi.net>
2021-01-20 17:48:16 +02:00
Hannu Nyman
06e6552c8a
Merge pull request #3434 from tano-systems/luci-base-network-fix
luci-compat: network.lua: fix typo
2019-12-27 12:13:15 +02:00
Anton Kikin
07925b253a luci-compat: network.lua: fix typo
Fixes: 72247ee09

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-12-27 02:32:15 +03:00
Jo-Philipp Wich
8362ab8d28
Merge pull request #1951 from tano-systems/luci-base-network-fix
luci-base: network.lua: bridge information request functions fixes
2019-12-25 18:32:05 +01:00
Balázs Úr
d0bc86bcc3 luci-base: fix typos
Signed-off-by: Balázs Úr <balazs@urbalazs.hu>
2019-12-17 11:41:00 +01:00
Anton Kikin
72247ee09f luci-base: network.lua: fix bridge related functions
This commit fixes these bugs:

1. Functions interface.bridge_id() and interface.bridge_stp() uses self.br field
   that is not exists at all

2. Function interface.is_bridgeport() return true only for bridge interface, not for
   bridge port interfaces.

Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-12-07 22:28:17 +03:00
Anton Kikin
45725dfca6 luci-base: network.lua: fix interface.ports() function return value
Signed-off-by: Anton Kikin <a.kikin@tano-systems.com>
2019-12-07 22:28:17 +03:00
Jo-Philipp Wich
857cd8c7fa luci-compat: network.lua: recognize wifi interfaces with nonstandard names
Ref: https://github.com/openwrt/luci/issues/3306
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-14 11:13:43 +01:00
Jo-Philipp Wich
d5dff8f9a5 treewide: move server side CBI support to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 20:49:31 +01:00
Jo-Philipp Wich
284918bfaf treewide: move templates and libraries not used by the core to luci-compat
Signed-off-by: Jo-Philipp Wich <jo@mein.io>
2019-11-03 17:56:58 +01:00