map-agent: ts: skip eth name check add wlanX.staY

On DSA platform we could have lan/lanX/wan ports.
Tested on ex400.

Version: 2.10.2.0

Signed-off-by: Janusz Dziedzic <janusz.dziedzic@iopsys.eu>
This commit is contained in:
Janusz Dziedzic 2022-08-04 20:11:33 +00:00
parent aa1e866263
commit b4a23934ef
2 changed files with 2 additions and 3 deletions

View file

@ -5,9 +5,9 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=map-agent
PKG_VERSION:=2.10.1.0
PKG_VERSION:=2.10.2.0
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-$(PKG_VERSION)
PKG_SOURCE_VERSION:=fa7e1ea4bea8f4face8850ea644c25d91ce12f33
PKG_SOURCE_VERSION:=e2bddc9f64b1aecee85b578ea3c5c59098d6088a
PKG_MAINTAINER:=Anjan Chanda <anjan.chanda@iopsys.eu>
PKG_LICENSE:=BSD-3-Clause

View file

@ -42,7 +42,6 @@ EOF
uci -q set network.${name}.local='1'
for port in $(uci -q get network.${br_dev}.ports) ; do
echo $port | grep -q eth || continue
uci -q get network.${name}.ports | grep -q "${port}${tag}" && continue
uci -q add_list network.${name}.ports="${port}${tag}"
done