Skip to content

net: if: Add const qualifier to addr pointer where applicable #93195

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

rlubos
Copy link
Contributor

@rlubos rlubos commented Jul 16, 2025

Some APIs taken in_addr/in6_addr pointer w/o const qualifier, while they do not actually intend to modify the provided address. This commit adds the missing const qualifier where applicable.

Resolves #93168

Some APIs taken in_addr/in6_addr pointer w/o const qualifier, while they
do not actually intend to modify the provided address. This commit
adds the missing const qualifier where applicable.

Signed-off-by: Robert Lubos <robert.lubos@nordicsemi.no>
Copy link

@zephyrbot zephyrbot requested a review from ssharks July 17, 2025 02:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

net_if_ipv4_addr_add's addr pointer param should be const qualified
3 participants