From f7832acc423f4378977f8dbcfb824dde018b14ca Mon Sep 17 00:00:00 2001 From: jgopi571 Date: Thu, 9 Jul 2026 11:27:35 +0000 Subject: [PATCH 1/2] RDKB-64552: DHCP Lease Expire Time IPV4 is not getting updated in GUI Reason for change: DHCP Lease Expire Time IPV4 is not getting updated in GUI Test Procedure: Verify the ipv4 dhcp lease time in gui and dmcli cmd output Risks: Low Priority: P1 Signed-off-by:Jayajothi_Gopi@comcast.com --- source/WanManager/wanmgr_sysevents.c | 12 +----------- 1 file changed, 1 insertion(+), 11 deletions(-) diff --git a/source/WanManager/wanmgr_sysevents.c b/source/WanManager/wanmgr_sysevents.c index 810b8a67..be05985b 100644 --- a/source/WanManager/wanmgr_sysevents.c +++ b/source/WanManager/wanmgr_sysevents.c @@ -278,17 +278,7 @@ if ( TRUE == UseWANMACForManagementServices ) } sysevent_set(sysevent_fd, sysevent_token,SYSEVENT_IPV4_TIME_ZONE, dhcp4Info->timeZone, 0); - - snprintf(name,sizeof(name),SYSEVENT_IPV4_DHCP_SERVER,dhcp4Info->ifname); - sysevent_set(sysevent_fd, sysevent_token,name, dhcp4Info->dhcpServerId,0); - - snprintf(name,sizeof(name),SYSEVENT_IPV4_DHCP_STATE ,dhcp4Info->ifname); - sysevent_set(sysevent_fd, sysevent_token,name, dhcp4Info->dhcpState,0); - - snprintf(name,sizeof(name), SYSEVENT_IPV4_LEASE_TIME, dhcp4Info->ifname); - snprintf(value, sizeof(value), "%u",dhcp4Info->leaseTime); - sysevent_set(sysevent_fd, sysevent_token,name, value, 0); - + #endif return ANSC_STATUS_SUCCESS; } From 41550c0641efab6a5c70e5d1a682fd4d5ce1ba57 Mon Sep 17 00:00:00 2001 From: jgopi571 Date: Tue, 14 Jul 2026 08:21:00 +0000 Subject: [PATCH 2/2] RDKB-64552: DHCP Lease Expire Time IPV4 is not getting updated in GUI Reason for change: DHCP Lease Expire Time IPV4 is not getting updated in GUI Test Procedure: Verify the ipv4 dhcp lease time in gui and dmcli cmd output Risks: Low Priority: P1 Signed-off-by:Jayajothi_Gopi@comcast.com --- source/WanManager/wanmgr_dhcpv4_apis.c | 3 --- source/WanManager/wanmgr_sysevents.c | 10 ---------- 2 files changed, 13 deletions(-) diff --git a/source/WanManager/wanmgr_dhcpv4_apis.c b/source/WanManager/wanmgr_dhcpv4_apis.c index 7590b697..8dd9bed9 100644 --- a/source/WanManager/wanmgr_dhcpv4_apis.c +++ b/source/WanManager/wanmgr_dhcpv4_apis.c @@ -202,9 +202,6 @@ ANSC_STATUS wanmgr_handle_dhcpv4_event_data(DML_VIRTUAL_IFACE* pVirtIf) snprintf(value, sizeof(value), "%d", pDhcpcInfo->upstreamCurrRate); sysevent_set(sysevent_fd, sysevent_token, name, value, 0); - snprintf(name, sizeof(name), SYSEVENT_IPV4_LEASE_TIME, pDhcpcInfo->dhcpcInterface); - snprintf(value, sizeof(value), "%d", pDhcpcInfo->leaseTime); - sysevent_set(sysevent_fd, sysevent_token, name, value, 0); #if !defined(FEATURE_RDKB_CONFIGURABLE_WAN_INTERFACE) if (pDhcpcInfo->isTimeOffsetAssigned) diff --git a/source/WanManager/wanmgr_sysevents.c b/source/WanManager/wanmgr_sysevents.c index 7231c826..c8b211f0 100644 --- a/source/WanManager/wanmgr_sysevents.c +++ b/source/WanManager/wanmgr_sysevents.c @@ -174,16 +174,6 @@ ANSC_STATUS wanmgr_sysevents_ipv4Info_set(const ipc_dhcpv4_data_t* dhcp4Info, co sysevent_set(sysevent_fd, sysevent_token,SYSEVENT_IPV4_TIME_ZONE, dhcp4Info->timeZone, 0); - snprintf(name,sizeof(name),SYSEVENT_IPV4_DHCP_SERVER,dhcp4Info->dhcpcInterface); - sysevent_set(sysevent_fd, sysevent_token,name, dhcp4Info->dhcpServerId,0); - - snprintf(name,sizeof(name),SYSEVENT_IPV4_DHCP_STATE ,dhcp4Info->dhcpcInterface); - sysevent_set(sysevent_fd, sysevent_token,name, dhcp4Info->dhcpState,0); - - snprintf(name,sizeof(name), SYSEVENT_IPV4_LEASE_TIME, dhcp4Info->dhcpcInterface); - snprintf(value, sizeof(value), "%u",dhcp4Info->leaseTime); - sysevent_set(sysevent_fd, sysevent_token,name, value, 0); - return ANSC_STATUS_SUCCESS; }