Thread (12 messages) 12 messages, 2 authors, 2017-12-28

Re: [PATCH iproute2 1/3] vxcan,veth: Forbid "type" for peer device

flat view

From: Stephen Hemminger <stephen@networkplumber.org>
Date: 2017-12-26 17:05:39

On Wed, 20 Dec 2017 09:37:29 +0200
Serhey Popovych [off-list ref] wrote:
It is already given for original device we configure this
peer for.

Results from following command before/after change applied
are shown below:

  $ ip link add dev veth1a type veth peer name veth1b \
                           type veth peer name veth1c

Before:
-------

<no output, no netdevs created>

After:
------

Error: argument "type" is wrong: not supported for peer

Signed-off-by: Serhey Popovych <redacted>
This makes a lot of sense.
Maybe the better error message would be to use duparg() since
that is the most likely cause of the user error.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help