From 2f91df74199227b92a710fcd388ced4cbc1e37a3 Mon Sep 17 00:00:00 2001 From: "nevadita.chatterjee" Date: Fri, 22 Jul 2022 10:49:34 +0530 Subject: [PATCH] map-topology: 2.5.0.8 --- map-topology/Makefile | 4 ++-- map-topology/files/etc/config/hosts | 1 + map-topology/files/etc/init.d/topologyd | 3 ++- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/map-topology/Makefile b/map-topology/Makefile index 2df024c7d..bc2620bd0 100644 --- a/map-topology/Makefile +++ b/map-topology/Makefile @@ -6,11 +6,11 @@ include $(TOPDIR)/rules.mk include $(INCLUDE_DIR)/kernel.mk PKG_NAME:=map-topology -PKG_VERSION:=2.5.0.7 +PKG_VERSION:=2.5.0.8 LOCAL_DEV:=0 ifneq ($(LOCAL_DEV),1) -PKG_SOURCE_VERSION:=601f5fdc8b4051811593efa714954d4cb3d7b7dd +PKG_SOURCE_VERSION:=8fedad83542c451c6dd74da30668edc6f50eafe8 PKG_SOURCE_PROTO:=git PKG_SOURCE_URL:=https://dev.iopsys.eu/iopsys/map-topology.git PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION)-$(PKG_SOURCE_VERSION).tar.xz diff --git a/map-topology/files/etc/config/hosts b/map-topology/files/etc/config/hosts index 55f2ada84..8e88c7535 100644 --- a/map-topology/files/etc/config/hosts +++ b/map-topology/files/etc/config/hosts @@ -2,3 +2,4 @@ config global 'global' option ageing_timer '1440' option reboot_persistent '0' + option ifname 'br-lan' diff --git a/map-topology/files/etc/init.d/topologyd b/map-topology/files/etc/init.d/topologyd index 162f20efe..868854a78 100755 --- a/map-topology/files/etc/init.d/topologyd +++ b/map-topology/files/etc/init.d/topologyd @@ -24,7 +24,8 @@ validate_topology_config() { validate_global_section() { uci_validate_section hosts global "global" \ 'ageing_timer:uinteger' \ - 'reboot_persistent:bool' + 'reboot_persistent:bool' \ + 'ifname:string' [ "$?" -ne 0 ] && { logger -s -t "hosts" "Validation of global section failed"