ip-link: fix a typo in help message
fix a typo: "noarp" -> "arp" Signed-off-by: Zhang Shengju <zhangshengju@cmss.chinamobile.com>
This commit is contained in:
parent
a560d850d9
commit
e543a6a8a0
|
|
@ -507,7 +507,7 @@ int iplink_parse(int argc, char **argv, struct iplink_req *req,
|
||||||
} else if (strcmp(*argv, "off") == 0) {
|
} else if (strcmp(*argv, "off") == 0) {
|
||||||
req->i.ifi_flags |= IFF_NOARP;
|
req->i.ifi_flags |= IFF_NOARP;
|
||||||
} else
|
} else
|
||||||
return on_off("noarp", *argv);
|
return on_off("arp", *argv);
|
||||||
} else if (strcmp(*argv, "vf") == 0) {
|
} else if (strcmp(*argv, "vf") == 0) {
|
||||||
struct rtattr *vflist;
|
struct rtattr *vflist;
|
||||||
NEXT_ARG();
|
NEXT_ARG();
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue