]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: add nlmon as a device type to help message
authorMasatake YAMATO <yamato@redhat.com>
Wed, 11 Jun 2014 19:08:38 +0000 (04:08 +0900)
committerStephen Hemminger <stephen@networkplumber.org>
Tue, 15 Jul 2014 16:41:44 +0000 (09:41 -0700)
Though nlmon device can be added, it was not listed
in the output of "ip link help".

Signed-off-by: Masatake YAMATO <yamato@redhat.com>
Acked-by: Daniel Borkmann <dborkman@redhat.com>
ip/iplink.c

index de9ef5df1e9fcfc5a991b432d4b67fd78bb3c152..5e428da59bfbe32336c20a5ec9ef49f2da51d041 100644 (file)
@@ -87,7 +87,7 @@ void iplink_usage(void)
                fprintf(stderr, "\n");
                fprintf(stderr, "TYPE := { vlan | veth | vcan | dummy | ifb | macvlan | macvtap |\n");
                fprintf(stderr, "          bridge | bond | ipoib | ip6tnl | ipip | sit | vxlan |\n");
-               fprintf(stderr, "          gre | gretap | ip6gre | ip6gretap | vti }\n");
+               fprintf(stderr, "          gre | gretap | ip6gre | ip6gretap | vti | nlmon }\n");
        }
        exit(-1);
 }