iproute2/iproute-arphrd-none.diff
OBS User autobuild 32842b0a2b Accepting request 34794 from network:utilities
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
2010-03-16 09:05:52 +00:00

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