justincormack / ljsyscall

LuaJIT Unix syscall FFI
http://www.myriabit.com/ljsyscall/
Other
440 stars 54 forks source link

netlink neighbors code returns rtmsg instead of ndmsg #219

Closed sileht closed 6 years ago

sileht commented 6 years ago

Hi,

When we use nl.*neigh methods we got the wrong data type (rtmsg instead of ndmsg) for the returned object, so many fields of the structure cannot be retrieved.

Regards,

justincormack commented 6 years ago

Hmm, ok looks like one of the config tables is wrong...

sileht commented 6 years ago

I proposed this to fix it: https://github.com/justincormack/ljsyscall/pull/220

justincormack commented 6 years ago

fixed via #220