Re: [PATCH iproute2 v2 0/3] do not set IPv6-only options on IPv4 addresses

2019-06-28 Thread Stephen Hemminger
On Tue, 25 Jun 2019 12:29:54 +0200 Andrea Claudi wrote: > 'home', 'nodad' and 'mngtmpaddr' options are IPv6-only, but > it is possible to set them on IPv4 addresses, too. This should > not be possible. > > Fix this adding a check on the protocol family before setting > the flags, and print warni

[PATCH iproute2 v2 0/3] do not set IPv6-only options on IPv4 addresses

2019-06-25 Thread Andrea Claudi
'home', 'nodad' and 'mngtmpaddr' options are IPv6-only, but it is possible to set them on IPv4 addresses, too. This should not be possible. Fix this adding a check on the protocol family before setting the flags, and print warning messages on error to not break existing scripted setups. Andrea Cl