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

fix(upnp): use correct mapping protocol for UDP #4542

Merged
merged 6 commits into from
Sep 25, 2023

Conversation

arpankapoor
Copy link
Contributor

@arpankapoor arpankapoor commented Sep 22, 2023

Description

Return PortMappingProtocol::UDP when the multiaddress protocol is UDP.

Notes & open questions

Change checklist

  • I have performed a self-review of my own code
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • A changelog entry has been made in the appropriate crates

@mxinden mxinden requested a review from jxs September 22, 2023 11:38
Copy link
Member

@jxs jxs left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for this!

thomaseizinger
thomaseizinger previously approved these changes Sep 22, 2023
@thomaseizinger
Copy link
Contributor

This needs a changelog entry and a version bump, otherwise we can release it!

jxs
jxs previously approved these changes Sep 23, 2023
Copy link
Contributor

@thomaseizinger thomaseizinger left a comment

Choose a reason for hiding this comment

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

You'll also need to bump the version in the root Cargo.toml, see CI error :)

@thomaseizinger
Copy link
Contributor

Thank you!

@mergify mergify bot dismissed stale reviews from thomaseizinger and jxs September 24, 2023 08:20

Approvals have been dismissed because the PR was updated after the send-it label was applied.

@mergify mergify bot merged commit 38ea7ad into libp2p:master Sep 25, 2023
73 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants