[iproute PATCH] route: ignore RTAX_HOPLIMIT of value -1

2015-12-02 Thread Phil Sutter
Older kernels use -1 internally as indicator to use the sysctl default, but they still export the setting. Newer kernels use 0 to indicate that (which is why the conversion from -1 to 0 was done here), but they also stopped exporting the value. Since the meaning of -1 is clear, treat it equally lik

Re: [iproute PATCH] route: ignore RTAX_HOPLIMIT of value -1

2015-12-10 Thread Stephen Hemminger
On Wed, 2 Dec 2015 12:50:22 + Phil Sutter wrote: > Older kernels use -1 internally as indicator to use the sysctl default, > but they still export the setting. Newer kernels use 0 to indicate that > (which is why the conversion from -1 to 0 was done here), but they also > stopped exporting th