Open the284 opened 1 month ago
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. https://github.com/jbaublitz/neli/blob/e50030dd22b2ad5390eed97445dbcc016e6bcd25/src/rtnl.rs#L93
Suggest switch to c_uint
I checked the documentation and you're correct. I'll put this on the to-do list.
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. https://github.com/jbaublitz/neli/blob/e50030dd22b2ad5390eed97445dbcc016e6bcd25/src/rtnl.rs#L93
Suggest switch to c_uint