]> git.ipfire.org Git - thirdparty/iproute2.git/commit
don't allow "" for device name
authorStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 21:43:03 +0000 (14:43 -0700)
committerStephen Hemminger <shemminger@linux-foundation.org>
Fri, 12 Oct 2007 21:43:03 +0000 (14:43 -0700)
commitba371d989038e0dda803528c194e12e5177f7008
treea5b7302a0c01a4b671f3c40d0f37f6b26fd695a6
parent550967eecf0c5fa5c306a57ff00407d4fa67c74f
don't allow "" for device name

If a zero-length string is given, it is not rejected by
netlink in kernel so catch it at command line.

Signed-off-by: Stephen Hemminger <shemminger@linux-foundation.org>
ip/iplink.c