]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip-link: fix a typo in help message
authorZhang Shengju <zhangshengju@cmss.chinamobile.com>
Wed, 12 Aug 2015 06:29:59 +0000 (06:29 +0000)
committerStephen Hemminger <shemming@brocade.com>
Wed, 12 Aug 2015 16:05:57 +0000 (09:05 -0700)
fix a typo: "noarp" -> "arp"

Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
ip/iplink.c

index a6378e2ba957470b4b0c196af54cf42acc4c9065..18368896c329ce1887d5bd5928a79150f9bc22ce 100644 (file)
@@ -507,7 +507,7 @@ int iplink_parse(int argc, char **argv, struct iplink_req *req,
                        } else if (strcmp(*argv, "off") == 0) {
                                req->i.ifi_flags |= IFF_NOARP;
                        } else
-                               return on_off("noarp", *argv);
+                               return on_off("arp", *argv);
                } else if (strcmp(*argv, "vf") == 0) {
                        struct rtattr *vflist;
                        NEXT_ARG();