diff options
author | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-16 20:21:00 +0400 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2008-05-16 20:21:00 +0400 |
commit | dff6190112e078d9c524f178ca7769ab9888229a (patch) | |
tree | a7e0d06bfe93bf413186a0780d8b654338fd4605 /networking/libiproute | |
parent | f3b778a4dcfe49dbb294365e7f026674a91f9a32 (diff) |
- add appropriate string for arp header #32 for use by ip(8)
Diffstat (limited to 'networking/libiproute')
-rw-r--r-- | networking/libiproute/ll_types.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/networking/libiproute/ll_types.c b/networking/libiproute/ll_types.c index 50c9f208f..d5d2a1f39 100644 --- a/networking/libiproute/ll_types.c +++ b/networking/libiproute/ll_types.c @@ -21,6 +21,9 @@ const char *ll_type_n2a(int type, char *buf, int len) /* 0, */ "generic" "\0" /* ARPHRD_LOOPBACK, */ "loopback" "\0" /* ARPHRD_ETHER, */ "ether" "\0" +#ifdef ARPHRD_INFINIBAND + /* ARPHRD_INFINIBAND, */ "infiniband" "\0" +#endif #ifdef ARPHRD_IEEE802_TR /* ARPHRD_IEEE802, */ "ieee802" "\0" /* ARPHRD_IEEE802_TR, */ "tr" "\0" @@ -107,6 +110,9 @@ const char *ll_type_n2a(int type, char *buf, int len) 0, /* "generic" "\0" */ ARPHRD_LOOPBACK, /* "loopback" "\0" */ ARPHRD_ETHER, /* "ether" "\0" */ +#ifdef ARPHRD_INFINIBAND + ARPHRD_INFINIBAND, /* "infiniband" "\0" */ +#endif #ifdef ARPHRD_IEEE802_TR ARPHRD_IEEE802, /* "ieee802" "\0" */ ARPHRD_IEEE802_TR, /* "tr" "\0" */ |