Commit 1f1ae524 authored by Andreas Henriksson's avatar Andreas Henriksson Committed by Stephen Hemminger

Allow he in tunnel name

Allows tunnels that could be confused with help command.
Signed-off-by: default avatarAndreas Henriksson <andreas@fatal.se>
parent 1758a81f
......@@ -196,8 +196,7 @@ static int parse_args(int argc, char **argv, int cmd, struct ip_tunnel_parm *p)
} else {
if (strcmp(*argv, "name") == 0) {
NEXT_ARG();
}
if (matches(*argv, "help") == 0)
} else if (matches(*argv, "help") == 0)
usage();
if (p->name[0])
duparg2("name", *argv);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment