Skip to content
Commit 72247ee0 authored by Anton Kikin's avatar Anton Kikin
Browse files

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: default avatarAnton Kikin <a.kikin@tano-systems.com>
parent 45725dfc
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment