Re: [PATCH iproute2 v2] ipaddress: strengthen check on 'label' input

2018-06-14 Thread Patrick Talbert
On Fri, Jun 1, 2018 at 9:56 PM, Stephen Hemminger wrote: > On Tue, 29 May 2018 16:57:07 +0200 > Patrick Talbert wrote: > >> As mentioned in the ip-address man page, an address label must >> be equal to the device name or prefixed by the device name >> followed by a colon. Currently the only

Re: [PATCH iproute2 v2] ipaddress: strengthen check on 'label' input

2018-06-01 Thread Stephen Hemminger
On Tue, 29 May 2018 16:57:07 +0200 Patrick Talbert wrote: > As mentioned in the ip-address man page, an address label must > be equal to the device name or prefixed by the device name > followed by a colon. Currently the only check on this input is > to see if the device name appears at the

[PATCH iproute2 v2] ipaddress: strengthen check on 'label' input

2018-05-29 Thread Patrick Talbert
As mentioned in the ip-address man page, an address label must be equal to the device name or prefixed by the device name followed by a colon. Currently the only check on this input is to see if the device name appears at the beginning of the label string. This commit adds an additional check to