[<prev] [next>] [day] [month] [year] [list]
Message-ID: <alpine.LSU.2.00.0902241129210.329@fbirervta.pbzchgretzou.qr>
Date: Tue, 24 Feb 2009 11:31:40 +0100 (CET)
From: Jan Engelhardt <jengelh@...ozas.de>
To: shemminger@...ux-foundation.org
cc: netdev@...r.kernel.ogr
Subject: iproute2: replace linktype number by name for tunnels
ip link currently only shows [65534] for TUN-style tunnels, but 65534
actually maps to a name.
$ ip l
6: tun1: <POINTOPOINT,MULTICAST,NOARP> mtu 1500 qdisc noop state DOWN qlen 500
link/[65534]
Signed-off-by: Jan Engelhardt <jengelh@...ozas.de>
---
lib/ll_types.c | 3 +++
1 file changed, 3 insertions(+)
Index: iproute2-2.6.23/lib/ll_types.c
===================================================================
--- iproute2-2.6.23.orig/lib/ll_types.c
+++ iproute2-2.6.23/lib/ll_types.c
@@ -124,6 +124,9 @@ __PF(IEEE80211_PRISM,ieee802.11/prism)
#ifdef ARPHRD_IEEE80211_RADIOTAP
__PF(IEEE80211_RADIOTAP,ieee802.11/radiotap)
#endif
+#ifdef ARPHRD_NONE
+__PF(NONE, none)
+#endif
#ifdef ARPHRD_VOID
__PF(VOID,void)
#endif
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Powered by blists - more mailing lists