summaryrefslogtreecommitdiffhomepage
path: root/networking/ip.c
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-04-06 16:06:04 +0200
committerDenys Vlasenko <vda.linux@googlemail.com>2017-04-06 16:06:04 +0200
commit2d4823b65b67c7f1fa504037aa0d4065650f53d8 (patch)
treedcaf7f47a3a8bde55a27511808126182284417a0 /networking/ip.c
parenta7386bb35b474987f0e82337b7fe524220336d32 (diff)
iplink: implement "set promisc on|off". Closes 4682
function old new delta do_iplink 1232 1269 +37 packed_usage 31337 31327 -10 Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/ip.c')
-rw-r--r--networking/ip.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/networking/ip.c b/networking/ip.c
index 620795881..6fc43f653 100644
--- a/networking/ip.c
+++ b/networking/ip.c
@@ -154,8 +154,8 @@
//usage:#define iplink_trivial_usage
//usage: "set IFACE [up|down] [arp on|off] | show [IFACE]"
//usage:#define iplink_full_usage "\n\n"
-//usage: "iplink set IFACE [up|down] [arp on|off] [multicast on|off] [mtu MTU]\n"
-//usage: " [name NAME] [qlen NUM] [address MAC]\n"
+//usage: "iplink set IFACE [up|down] [arp on|off] [multicast on|off] [promisc on|off]\n"
+//usage: " [mtu NUM] [name NAME] [qlen NUM] [address MAC]\n"
//usage: "iplink show [IFACE]"
//usage:
//usage:#define iproute_trivial_usage