Re: Simplify rtredirect

2015-12-01 Thread Alexander Bluhm
On Tue, Dec 01, 2015 at 05:53:47PM +0100, Martin Pieuchot wrote: > The netmask argument is always NULL and the flags are always the same. > RTF_GATEWAY|RTF_HOST routes *are* routes created by redirect. > > I need this simplification to move forward with my rt_mask() cleanup. > > ok? OK bluhm@

Simplify rtredirect

2015-12-01 Thread Martin Pieuchot
The netmask argument is always NULL and the flags are always the same. RTF_GATEWAY|RTF_HOST routes *are* routes created by redirect. I need this simplification to move forward with my rt_mask() cleanup. ok? Index: net/route.c ===