fix a typo: "noarp" -> "arp"

Signed-off-by: Zhang Shengju <zhangshen...@cmss.chinamobile.com>
---
 ip/iplink.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/ip/iplink.c b/ip/iplink.c
index 7e5c466..fa8aa47 100644
--- a/ip/iplink.c
+++ b/ip/iplink.c
@@ -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();
-- 
1.8.3.1



--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to