-
Notifications
You must be signed in to change notification settings - Fork 824
Fix fill local IP [13390] #2389
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
Conversation
Signed-off-by: RaulSanchez <[email protected]>
Signed-off-by: RaulSanchez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I'd really appreciate a TCPv6 communication blackbox test to check that it works at least locally
@@ -328,8 +328,8 @@ bool TCPv4Transport::compare_locator_ip_and_port( | |||
void TCPv4Transport::fill_local_ip( | |||
Locator& loc) const | |||
{ | |||
IPLocator::setIPv4(loc, "127.0.0.1"); | |||
loc.kind = LOCATOR_KIND_TCPv4; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general,
I suggest using the kind()
getter inhereted from TransportInterface
Signed-off-by: RaulSanchez <[email protected]>
Signed-off-by: RaulSanchez <[email protected]>
Signed-off-by: RaulSanchez <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM with green CI
@richiprosima please test Linux |
This PR fix the fill local IP functions defining the IP kind before filling the locator with the given IP.