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

core: make udpin parsing stricter #2425

Merged
merged 2 commits into from
Oct 16, 2024
Merged

core: make udpin parsing stricter #2425

merged 2 commits into from
Oct 16, 2024

Conversation

julianoes
Copy link
Collaborator

We don't want to accept udpin://:PORT but we always need the network interface, e.g.:

  • udpin://192.168.X.Y:PORT, or
  • udpin://0.0.0.0:PORT for all network interfaces

Without this we got an error further down with inet_pton.

We don't want to accept udpin://:PORT but we always
need the network interface, e.g.:
- udpin://192.168.X.Y:PORT, or
- udpin://0.0.0.0:PORT for all network interfaces

Without this we got an error further down with inet_pton.
JonasVautherin
JonasVautherin previously approved these changes Oct 15, 2024
src/mavsdk/core/cli_arg.cpp Outdated Show resolved Hide resolved
Co-authored-by: Jonas Vautherin <dev@jonas.vautherin.ch>
Copy link

@JonasVautherin JonasVautherin merged commit 963f05a into main Oct 16, 2024
36 checks passed
@JonasVautherin JonasVautherin deleted the pr-fix-udpin-parsing branch October 16, 2024 08:44
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