forked from pool/iproute2
32842b0a2b
Copy from network:utilities/iproute2 based on submit request 34794 from user coolo OBS-URL: https://build.opensuse.org/request/show/34794 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/iproute2?expand=0&rev=28
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
|