Displaying 1 result from an estimated 1 matches for "netinet_gr".
2007 Jun 19
1
Routing cache and the missing redirect flag
...168.0.121 192.168.0.121 l 0 0 1 lo
We don''t see here the RTCF_REDIRECTED flag ! (the "l" is for RTCF_LOCAL).
I had looked in the sources for "route" command ; "route" belongs to the
net-tools package ; and parsing of flags is done in lib/netinet_gr.c,
in the rprint_cache() method; According to the code there, this flag
shoulf have been "r":
...
...
if (iflags & RTCF_DOREDIRECT)
strcat(flags, "r");
...
...
Any ideas?
Regards,
Ian