aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-16 16:21:00 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-05-16 16:21:00 +0000
commitdff6190112e078d9c524f178ca7769ab9888229a (patch)
treea7e0d06bfe93bf413186a0780d8b654338fd4605
parentf3b778a4dcfe49dbb294365e7f026674a91f9a32 (diff)
downloadbusybox-w32-dff6190112e078d9c524f178ca7769ab9888229a.tar.gz
busybox-w32-dff6190112e078d9c524f178ca7769ab9888229a.tar.bz2
busybox-w32-dff6190112e078d9c524f178ca7769ab9888229a.zip
- add appropriate string for arp header #32 for use by ip(8)
-rw-r--r--networking/libiproute/ll_types.c6
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)
21 /* 0, */ "generic" "\0" 21 /* 0, */ "generic" "\0"
22 /* ARPHRD_LOOPBACK, */ "loopback" "\0" 22 /* ARPHRD_LOOPBACK, */ "loopback" "\0"
23 /* ARPHRD_ETHER, */ "ether" "\0" 23 /* ARPHRD_ETHER, */ "ether" "\0"
24#ifdef ARPHRD_INFINIBAND
25 /* ARPHRD_INFINIBAND, */ "infiniband" "\0"
26#endif
24#ifdef ARPHRD_IEEE802_TR 27#ifdef ARPHRD_IEEE802_TR
25 /* ARPHRD_IEEE802, */ "ieee802" "\0" 28 /* ARPHRD_IEEE802, */ "ieee802" "\0"
26 /* ARPHRD_IEEE802_TR, */ "tr" "\0" 29 /* ARPHRD_IEEE802_TR, */ "tr" "\0"
@@ -107,6 +110,9 @@ const char *ll_type_n2a(int type, char *buf, int len)
107 0, /* "generic" "\0" */ 110 0, /* "generic" "\0" */
108 ARPHRD_LOOPBACK, /* "loopback" "\0" */ 111 ARPHRD_LOOPBACK, /* "loopback" "\0" */
109 ARPHRD_ETHER, /* "ether" "\0" */ 112 ARPHRD_ETHER, /* "ether" "\0" */
113#ifdef ARPHRD_INFINIBAND
114 ARPHRD_INFINIBAND, /* "infiniband" "\0" */
115#endif
110#ifdef ARPHRD_IEEE802_TR 116#ifdef ARPHRD_IEEE802_TR
111 ARPHRD_IEEE802, /* "ieee802" "\0" */ 117 ARPHRD_IEEE802, /* "ieee802" "\0" */
112 ARPHRD_IEEE802_TR, /* "tr" "\0" */ 118 ARPHRD_IEEE802_TR, /* "tr" "\0" */