Skip to content

Conversation

@devinmungan
Copy link

…11 development)

  • RDKBNETWOR-85 : DHCP Manager changes for option 64

  • pass received endpoint name to wanmanager via rbus publish

…11 development)

* RDKBNETWOR-85 : DHCP Manager changes for option 64

* pass received endpoint name to wanmanager via rbus publish

Signed-off-by: Devin Mungan <[email protected]>
Copilot AI review requested due to automatic review settings December 10, 2025 18:22
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR integrates the DSLite feature with WanManager by renaming the AFTR (Access Gateway for DS-Lite) field to the more generic endpointName throughout the DHCPv6 handling code, and adds support for passing the received endpoint name to WanManager via RBUS publish.

  • Refactored AFTR field to endpointName across DHCPv6 structures and processing functions
  • Added a trim() utility function to clean whitespace from endpoint names
  • Updated DHCPv6 lease comparison logic to include endpoint name validation

Reviewed changes

Copilot reviewed 4 out of 4 changed files in this pull request and generated 1 comment.

File Description
source/TR-181/middle_layer_src/dhcpmgr_rbus_apis.c Added endpointName field copying to DHCP_MGR_IPV6_MSG structure for RBUS event publishing
source/DHCPMgrUtils/dhcpmgr_v6_lease_handler.c Updated lease comparison function to compare endpointName instead of aftr field
source/DHCPClientUtils/DHCPv6Client/dhcpv6_interface.h Renamed AFTR_NAME_LENGTH to ENDPOINT_NAME_LENGTH and aftr field to endpointName in DHCPv6_PLUGIN_MSG structure
source/DHCPClientUtils/DHCPv6Client/dhcpmgr_dibbler_plugin/dhcpmgr_dibbler_plugin.c Added trim function for string cleanup, updated DHCPv6 option 64 handling to use endpointName with trimming, and updated log messages

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants