cord_ep: allow not specify netif if only one interface exist#14403
Merged
miri64 merged 1 commit intoRIOT-OS:masterfrom Jun 30, 2020
Merged
cord_ep: allow not specify netif if only one interface exist#14403miri64 merged 1 commit intoRIOT-OS:masterfrom
miri64 merged 1 commit intoRIOT-OS:masterfrom
Conversation
miri64
approved these changes
Jun 30, 2020
1566fa7 to
c84ace2
Compare
miri64
requested changes
Jun 30, 2020
c84ace2 to
edc9567
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Contribution description
This PR modifies the
make_sock_ep()function incord_epshell function to allow not specifiying the interface when using link-local address.Testing procedure
aiocoap-rdversion 0.4b3 provided by aiocoap as RD:pip3 install --upgrade "git+https://github.com/chrysn/aiocoap@0.4b3#egg=aiocoap[all,docs]"cord_ep register/discover [<RD ipv6 ip>]:5683Test running
cord_ep register,cord_ep discover:All of it should not timeout and should register correclty for
cord_ep registerand return the correct registration interface forcord_ep discover.Issues/PRs references
Fixes #14399