Skip to content

Feature/rename dhcp ipv6#778

Merged
peanball merged 2 commits into
mainfrom
feature/rename_dhcp_ipv6
May 13, 2026
Merged

Feature/rename dhcp ipv6#778
peanball merged 2 commits into
mainfrom
feature/rename_dhcp_ipv6

Conversation

@PlagueCZ
Copy link
Copy Markdown
Contributor

This PR simply removes the unused own_ipv6 in ipv6_nd_node.c (it was set and never used). Then it reuses the name for the original dhcp_ipv6. This way the name is consistent with the uint32_t own_ip

Fixes #704

Guvenc Gulce added 2 commits May 11, 2026 14:37
The own_ipv6 field in struct dp_iface_cfg was set in the ND
neighbour solicitation handler but never read anywhere in the
codebase. Remove the field and its only write site.

Signed-off-by: Guvenc Gulce <guevenc.guelce@external.t-systems.com>
The field dhcp_ipv6 in struct dp_iface_cfg holds the VM's own
IPv6 address, not something specific to DHCP. Rename it to
own_ipv6 to better reflect its purpose.

Signed-off-by: Guvenc Gulce <guevenc.guelce@external.t-systems.com>
@PlagueCZ PlagueCZ requested a review from a team as a code owner May 11, 2026 12:43
@github-actions github-actions Bot added size/S enhancement New feature or request labels May 11, 2026
Copy link
Copy Markdown
Contributor

@peanball peanball left a comment

Choose a reason for hiding this comment

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

Confirmed that the field own_ipv6 was never read and could not be read from outside. Renaming it looks safe.

@peanball peanball merged commit eece6db into main May 13, 2026
7 checks passed
@github-project-automation github-project-automation Bot moved this to Done in Roadmap May 13, 2026
@peanball peanball deleted the feature/rename_dhcp_ipv6 branch May 13, 2026 14:01
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

own_ipv6 in dp_port structure

3 participants