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

DefaultDnsServiceDiscovererBuilder#maxUdpPayloadSize validation msg fix #1589

Merged
merged 1 commit into from
May 28, 2021

Conversation

idelpivnitskiy
Copy link
Member

Motivation:

DefaultDnsServiceDiscovererBuilder#maxUdpPayloadSize throws an
IllegalArgumentException with incorrect value in the message.

Modifications:

  • Use maxUdpPayloadSize instead of minTTLSeconds;

Result:

Correct value in IllegalArgumentException msg for maxUdpPayloadSize
validation.

… fix

Motivation:

`DefaultDnsServiceDiscovererBuilder#maxUdpPayloadSize` throws an
`IllegalArgumentException` with incorrect value in the message.

Modifications:

- Use `maxUdpPayloadSize` instead of `minTTLSeconds`;

Result:

Correct value in `IllegalArgumentException` msg for `maxUdpPayloadSize`
validation.
@idelpivnitskiy idelpivnitskiy requested a review from tkountis May 28, 2021 04:33
@tkountis
Copy link
Contributor

👁️ 🦅

@idelpivnitskiy idelpivnitskiy merged commit b2a26ca into apple:main May 28, 2021
@idelpivnitskiy idelpivnitskiy deleted the maxUdpPayloadSize branch May 28, 2021 06:12
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.

2 participants