Re: be more consistent in rtsock

2015-10-25 Thread Martin Pieuchot
On 25/10/15(Sun) 10:46, Claudio Jeker wrote: > Some stuff I found while looking at kroute code is that the kernel is not > always filling the info in the same way. This tries to fix this. > First of all make sure the RTM_GET lookups fill out rtm_index no matter > what. We do the same thing in the s

be more consistent in rtsock

2015-10-25 Thread Claudio Jeker
Some stuff I found while looking at kroute code is that the kernel is not always filling the info in the same way. This tries to fix this. First of all make sure the RTM_GET lookups fill out rtm_index no matter what. We do the same thing in the sysctl code and also in most other RTM_* messages. Sec