From d5b31eb941e8cd05e177f5ee15f96920ac3fe6e0 Mon Sep 17 00:00:00 2001 From: Manigandan Gopalakrishnan Date: Wed, 1 Oct 2025 19:42:25 +0530 Subject: [PATCH] RDKBACCL-867: brlan0 not getting ip when switched from bridge mode to router mode in Bananapi Reason for change: Having same sysevent handler for reference platform Test procedure: Tested bridge-mode and router mode switching Risks: None Signed-off-by: Manigandan Gopalakrishnan --- source/scripts/init/c_registration/02_ipv4.c | 2 +- source/scripts/init/c_registration/02_lanHandler.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/scripts/init/c_registration/02_ipv4.c b/source/scripts/init/c_registration/02_ipv4.c index 9c37c56..44fd32d 100644 --- a/source/scripts/init/c_registration/02_ipv4.c +++ b/source/scripts/init/c_registration/02_ipv4.c @@ -65,7 +65,7 @@ const char* SERVICE_DEFAULT_HANDLER = "/etc/utopia/service.d/service_ipv4.sh"; * keep the define outside of the string quotation symbols * eg. "event3|/etc/code|"ACTION_FLAG_NOT_THREADSAFE"|"TUPLE_FLAG_SERIAL */ -#if defined(_COSA_INTEL_USG_ARM_) && !defined(INTEL_PUMA7) && !defined(_COSA_BCM_ARM_) && !defined(_PLATFORM_IPQ_) && !defined(_COSA_QCA_ARM_) +#if defined(_COSA_INTEL_USG_ARM_) && !defined(INTEL_PUMA7) && !defined(_COSA_BCM_ARM_) && !defined(_PLATFORM_IPQ_) && !defined(_COSA_QCA_ARM_) && !defined(_PLATFORM_BANANAPI_R4_) const char* SERVICE_CUSTOM_EVENTS[] = { "ipv4-resyncAll|/etc/utopia/service.d/service_ipv4.sh|NULL|"TUPLE_FLAG_EVENT, "ipv4-resync|/etc/utopia/service.d/service_ipv4.sh|NULL|"TUPLE_FLAG_EVENT, diff --git a/source/scripts/init/c_registration/02_lanHandler.c b/source/scripts/init/c_registration/02_lanHandler.c index 31fd727..f0122cd 100644 --- a/source/scripts/init/c_registration/02_lanHandler.c +++ b/source/scripts/init/c_registration/02_lanHandler.c @@ -43,7 +43,7 @@ #define SERVICE_NAME "lan" #define SERVICE_DEFAULT_HANDLER "/etc/utopia/service.d/lan_handler.sh" -#if defined(_COSA_INTEL_USG_ARM_) && !defined(INTEL_PUMA7) && !defined(_COSA_BCM_ARM_) && !defined(_PLATFORM_IPQ_) && !defined(_COSA_QCA_ARM_) +#if defined(_COSA_INTEL_USG_ARM_) && !defined(INTEL_PUMA7) && !defined(_COSA_BCM_ARM_) && !defined(_PLATFORM_IPQ_) && !defined(_COSA_QCA_ARM_) && !defined(_PLATFORM_BANANAPI_R4_) const char* SERVICE_CUSTOM_EVENTS[] = { "pnm-status|/etc/utopia/service.d/lan_handler.sh", "bring-lan|/usr/bin/service_dhcp",