diff mbox

[iproute2] ll_types: add netlink ARPHRD

Message ID 1408806809-11593-1-git-send-email-dborkman@redhat.com
State Accepted, archived
Delegated to: stephen hemminger
Headers show

Commit Message

Daniel Borkmann Aug. 23, 2014, 3:13 p.m. UTC
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>
---
 lib/ll_types.c | 1 +
 1 file changed, 1 insertion(+)
diff mbox

Patch

diff --git a/lib/ll_types.c b/lib/ll_types.c
index 0c39183..2c5bf8b 100644
--- a/lib/ll_types.c
+++ b/lib/ll_types.c
@@ -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)