Skip to content
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

Only define DNS_ReadNameField when cache is used #1201

Merged
merged 7 commits into from
Oct 31, 2024

Conversation

AniruddhaKanhere
Copy link
Member

Description

This PR adds #if checks to only build/compile the function DNS_ReadNameField when ipconfigUSE_DNS_CACHE or ipconfigDNS_USE_CALLBACKS is defined.

Test Steps

Checklist:

  • I have tested my changes. No regression in existing tests.
  • I have modified and/or added unit-tests to cover the code changes in this Pull Request.

Related Issue

#1199

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@AniruddhaKanhere AniruddhaKanhere requested a review from a team as a code owner October 28, 2024 22:07
@AniruddhaKanhere
Copy link
Member Author

/bot run uncrustify

source/FreeRTOS_DNS_Parser.c Outdated Show resolved Hide resolved
amazonKamath
amazonKamath previously approved these changes Oct 29, 2024
@AniruddhaKanhere AniruddhaKanhere merged commit 4f67761 into FreeRTOS:main Oct 31, 2024
10 checks passed
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.

7 participants