]> git.ipfire.org Git - thirdparty/iproute2.git/commitdiff
ip: correctly report tunnel link type
authorJan Engelhardt <jengelh@medozas.de>
Thu, 11 Mar 2010 10:22:31 +0000 (10:22 +0000)
committerStephen Hemminger <stephen.hemminger@vyatta.com>
Mon, 29 Mar 2010 22:03:19 +0000 (15:03 -0700)
Up until now, "tun" tunnels were displayed as link/[65534].

Signed-off-by: Jan Engelhardt <jengelh@medozas.de>
lib/ll_types.c

index 9d75bd26032a766e3a863ada70062333f120bb43..846cdb0f35c52d44dcd27dd8928a52ba802bc5db 100644 (file)
@@ -125,6 +125,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