Thread (2 messages) flat view 2 messages, 2 authors, 2018-06-15

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

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2018-06-15 18:19:14

On Thu, 14 Jun 2018 15:46:57 +0200
Patrick Talbert [off-list ref] 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 beginning of the label
string.

This commit adds an additional check to ensure label == dev or
continues with a colon.

Signed-off-by: Patrick Talbert <redacted>
Suggested-by: Stephen Hemminger <stephen@networkplumber.org>
Sure applied
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help