23 lines
615 B
Diff
23 lines
615 B
Diff
|
Give ARPHRD_NONE a name so that "tun"-style tunnels don't appear
|
||
|
as link/65534.
|
||
|
|
||
|
Signed-off-by: Jan Engelhardt <jengelh@medozas.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
|