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

New interface bug #45

Closed
levshutov opened this issue Mar 11, 2023 · 1 comment
Closed

New interface bug #45

levshutov opened this issue Mar 11, 2023 · 1 comment

Comments

@levshutov
Copy link
Contributor

WSDD2 is running on a specific interface with -i key.

is_new_addr() is called when network is changed.
It changes ifindex to modifyed interface index by mistake.

if (!if_indextoname(ifindex, buf) || strcmp(buf, ifname) != 0)

should be

if (!if_indextoname(ifam->ifa_index, buf) || strcmp(buf, ifname) != 0)
@levshutov
Copy link
Contributor Author

PR #46

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

No branches or pull requests

1 participant