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

Add check for if ifa_addr is null #16

Merged
merged 1 commit into from
Mar 5, 2021

Conversation

mkiael
Copy link
Contributor

@mkiael mkiael commented Feb 16, 2021

This commits adds a check for if ifa_addr is null when looping through network interfaces on a Unix system.

Got a segfault when running the examples on a system where an interface did not have an assigned address.

This commits adds a check for if ifa_addr is null when
looping through network interfaces on a Unix system.

Signed-off-by: Mikael Larsson <c.mikael.larsson@gmail.com>
@Mallets Mallets merged commit 59c8655 into eclipse-zenoh:master Mar 5, 2021
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.

None yet

2 participants