From a450258e8af97bf728f188232b4e603f5d43448f Mon Sep 17 00:00:00 2001 From: jmcmullan Date: Tue, 14 Jan 2014 07:02:04 +0000 Subject: [PATCH] Network/include: Add a Linux compatibility alias for ifr_ifindex Signed-off-by: Jason S. McMullan git-svn-id: https://svn.aros.org/svn/aros/trunk/AROS@48725 fb15a70f-31f2-0310-bbcc-cdcc74a49acc --- workbench/network/common/include/net/if.h | 1 + 1 file changed, 1 insertion(+) diff --git a/workbench/network/common/include/net/if.h b/workbench/network/common/include/net/if.h index edbf403d1a..83522f8c2d 100644 --- a/workbench/network/common/include/net/if.h +++ b/workbench/network/common/include/net/if.h @@ -312,6 +312,7 @@ struct ifreq { #define ifr_mtu ifr_ifru.ifru_mtu /* mtu */ #define ifr_data ifr_ifru.ifru_data /* for use by interface */ #define ifr_index ifr_ifru.ifru_index /* interface index */ +#define ifr_ifindex ifr_ifru.ifru_index /* interface index (alias) */ }; struct ifaliasreq { -- 2.11.4.GIT