]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ll_types: add netlink ARPHRD
authorDaniel Borkmann <dborkman@redhat.com>
Sat, 23 Aug 2014 15:13:29 +0000 (17:13 +0200)
committerStephen Hemminger <stephen@networkplumber.org>
Fri, 29 Aug 2014 07:13:22 +0000 (00:13 -0700)
This adds ARPHRD_NETLINK to ll_types so that it can be properly
shown e.g. in `ip a`:

 8: nlmon: <NOARP,UP,LOWER_UP> mtu 3776 qdisc noqueue state UNKNOWN group default
    link/netlink

Signed-off-by: Daniel Borkmann <dborkman@redhat.com>
Signed-off-by: Stephen Hemminger <stephen@networkplumber.org>
lib/ll_types.c

index 0c391836dd9471caca0434d0b5425fcc2ad8cadc..2c5bf8b5750d5b3fa0e2185f9dfcf476b6b4d46c 100644 (file)
@@ -104,6 +104,7 @@ __PF(PHONET, phonet)
 __PF(PHONET_PIPE, phonet_pipe)
 __PF(CAIF, caif)
 __PF(IP6GRE, gre6)
+__PF(NETLINK, netlink)
 
 __PF(NONE, none)
 __PF(VOID,void)