]> rtime.felk.cvut.cz Git - lisovros/iproute2_canprio.git/commit
Refuse "ip link add/replace" without device type parameter
authorPatrick McHardy <kaber@trash.net>
Tue, 7 Oct 2008 15:23:04 +0000 (17:23 +0200)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 13 Oct 2008 14:03:41 +0000 (07:03 -0700)
commit3ef0c8594283d4891e84b4b8d7d04901416aeae0
tree5d71e8d2a15309da725df1cb7acd547a7250dcbf
parent053255520216654c6914e84b0a37e86c542898bd
Refuse "ip link add/replace" without device type parameter

Fix confusing error message noticed by Martin Josefsson:
Fix typo noticed by Phil Oester: information vs. informatin

# ip link add
RTNETLINK answers: Operation not supported

The reason is missing device type information, refuse this and print a message.

Signed-off-by: Patrick McHardy <kaber@trash.net>
ip/iplink.c