Re: [PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-12-17 Thread Alexander Zubkov
OK. I have found the recommendations for kernel developers and resubmited both of my patches according to their guidelines (I hope). I have used my other e-mail because I think gmail is not good with text email format. On Sat, Dec 16, 2017 at 10:21 PM, Stephen Hemminger wrote: > On Sat, 18 Nov 20

Re: [PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-12-16 Thread Stephen Hemminger
On Sat, 18 Nov 2017 14:12:48 +0100 Alexander Zubkov wrote: > Hello, > > I have found odd behaviour when using "ip route list" (and other bound > commands) with prefix "default". > > When family not specified, its value is completely ignored and "ip > route list default" shows all inet4 prefixes

Re: [PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-12-05 Thread Stephen Hemminger
On Sat, 18 Nov 2017 17:56:32 +0100 Alexander Zubkov wrote: > I also opened earlier a ticket in bugzilla: > https://bugzilla.kernel.org/show_bug.cgi?id=197899 > And Stephen Hemminger had couple of comments there which I want to argue: > > > $ ip route list default > > Means list all routes in any

Re: [PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-12-04 Thread Alexander Zubkov
Hello everybody, I will be glad to hear a piece of feedback on this proposal. On Sat, Nov 18, 2017 at 5:56 PM, Alexander Zubkov wrote: > I also opened earlier a ticket in bugzilla: > https://bugzilla.kernel.org/show_bug.cgi?id=197899 > And Stephen Hemminger had couple of comments there which I w

Re: [PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-11-18 Thread Alexander Zubkov
I also opened earlier a ticket in bugzilla: https://bugzilla.kernel.org/show_bug.cgi?id=197899 And Stephen Hemminger had couple of comments there which I want to argue: > $ ip route list default > Means list all routes in any address family (ie same as any) > but > > $ ip route list 0/0 > Means li

[PATCH iproute2] ip route: broken logic when using default word and family not specified

2017-11-18 Thread Alexander Zubkov
Hello, I have found odd behaviour when using "ip route list" (and other bound commands) with prefix "default". When family not specified, its value is completely ignored and "ip route list default" shows all inet4 prefixes. Same do "ip route list exact default" and "ip route list match default".