]> sourceware.org Git - glibc.git/commitdiff
Update.
authorUlrich Drepper <drepper@redhat.com>
Tue, 26 Jun 2001 04:59:41 +0000 (04:59 +0000)
committerUlrich Drepper <drepper@redhat.com>
Tue, 26 Jun 2001 04:59:41 +0000 (04:59 +0000)
* sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.

ChangeLog
sysdeps/gnu/net/if.h

index 46b241463e68695d25b732ac5d2e90de2b79c8a7..7a9989ea386700401a3317bcc6d36821b76427ae 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,8 @@
 2001-06-25  Ulrich Drepper  <drepper@redhat.com>
 
+       * sysdeps/gnu/net/if.h: Correct _IOT_ifreq and add _IOT_ifreq_short
+       and _IOT_ifreq_int.  Patch by Mark Kettenis <kettenis@wins.uva.nl>.
+
        * elf/dl-deps.c (_dl_map_object_deps): Fix handling of failing
        _dl_catch_error calls.
 
index 45d2937ea751c7a14c708e98d65ae1362b7e30a5..562dd44ba2197c463b860905b3148e6677156f20 100644 (file)
@@ -163,7 +163,9 @@ struct ifreq
 # define ifr_bandwidth ifr_ifru.ifru_ivalue    /* link bandwidth       */
 # define ifr_qlen      ifr_ifru.ifru_ivalue    /* queue length         */
 # define ifr_newname   ifr_ifru.ifru_newname   /* New name             */
-# define _IOT_ifreq    _IOT(_IOTS(struct ifreq),1,0,0,0,0) /* not right */
+# define _IOT_ifreq    _IOT(_IOTS(char),IFNAMSIZ,_IOTS(char),16,0,0)
+# define _IOT_ifreq_short _IOT(_IOTS(char),IFNAMSIZ,_IOTS(short),1,0,0)
+# define _IOT_ifreq_int        _IOT(_IOTS(char),IFNAMSIZ,_IOTS(int),1,0,0)
 
 
 /* Structure used in SIOCGIFCONF request.  Used to retrieve interface
This page took 0.049377 seconds and 5 git commands to generate.