diff options
-rw-r--r-- | ip/iplink.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/ip/iplink.c b/ip/iplink.c index 82275b4e..4060845c 100644 --- a/ip/iplink.c +++ b/ip/iplink.c @@ -336,8 +336,6 @@ static int iplink_modify(int cmd, unsigned int flags, int argc, char **argv) if (name) { len = strlen(name) + 1; - if (len == 1) - invarg("null string is not valid name\n"); if (len > IFNAMSIZ) invarg("\"name\" too long\n", *argv); addattr_l(&req.n, sizeof(req), IFLA_IFNAME, name, len); |