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

ifa_index in ifaddrmsg should be unsigned #245

Open
the284 opened this issue Sep 27, 2024 · 1 comment
Open

ifa_index in ifaddrmsg should be unsigned #245

the284 opened this issue Sep 27, 2024 · 1 comment

Comments

@the284
Copy link

the284 commented Sep 27, 2024

ifa_index in ifaddrmsg should be unsigned per https://man7.org/linux/man-pages/man7/rtnetlink.7.html

Current code is using libc:c_int which is signed.

ifa_index: libc::c_int,

Suggest switch to c_uint

@jbaublitz
Copy link
Owner

I checked the documentation and you're correct. I'll put this on the to-do list.

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

2 participants