1 From 3848a99f65952a77c03bbd905cae988f37f13ea6 Mon Sep 17 00:00:00 2001
2 From: Daniel Sabogal <dsabogalcc@gmail.com>
3 Date: Fri, 16 Sep 2016 13:34:24 -0400
4 Subject: fix ifru_data and ifcu_buf types in net/if.h
6 glibc, freebsd, and openbsd use character pointers (caddr_t) for
7 these fields. only linux uses void pointer for the ifru_data type.
9 include/net/if.h | 4 ++--
10 1 file changed, 2 insertions(+), 2 deletions(-)
12 diff --git a/include/net/if.h b/include/net/if.h
13 index 1a4059d..2f2fcc1 100644
14 --- a/include/net/if.h
15 +++ b/include/net/if.h
16 @@ -89,7 +89,7 @@ struct ifreq {
17 struct ifmap ifru_map;
18 char ifru_slave[IFNAMSIZ];
19 char ifru_newname[IFNAMSIZ];
25 @@ -116,7 +116,7 @@ struct ifreq {
31 struct ifreq *ifcu_req;