]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
hurd: Use IF_NAMESIZE rather than IFNAMSIZ
authorSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 21 Sep 2022 06:51:50 +0000 (08:51 +0200)
committerSamuel Thibault <samuel.thibault@ens-lyon.org>
Wed, 21 Sep 2022 06:51:50 +0000 (08:51 +0200)
The latter is not available without __USE_MISC.

sysdeps/mach/hurd/net/route.h

index 7bbd94fb56f6a6c8b9db62d7e10f5f54da06dbcb..e7c276edf39d57f21ec5d0715f2c1a003553fcab 100644 (file)
@@ -68,7 +68,7 @@ struct in6_rtmsg
 
 typedef struct ifrtreq
   {
-    char ifname[IFNAMSIZ];
+    char ifname[IF_NAMESIZE];
     in_addr_t rt_dest;
     in_addr_t rt_mask;
     in_addr_t rt_gateway;