about summary refs log tree commit diff
path: root/sysdeps/mach/hurd/net/route.h
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-21 08:51:50 +0200
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-09-21 08:51:50 +0200
commitc0c9092f758d3734fd6bb3f63c6cd0c4fd464a51 (patch)
tree8d0b6b7158c7b760798302ba4f8bb373f60ca2da /sysdeps/mach/hurd/net/route.h
parentffd0b295d96aa58d65e642d7519f4d8c33acb3f0 (diff)
downloadglibc-c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51.tar.gz
glibc-c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51.tar.xz
glibc-c0c9092f758d3734fd6bb3f63c6cd0c4fd464a51.zip
hurd: Use IF_NAMESIZE rather than IFNAMSIZ
The latter is not available without __USE_MISC.
Diffstat (limited to 'sysdeps/mach/hurd/net/route.h')
-rw-r--r--sysdeps/mach/hurd/net/route.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sysdeps/mach/hurd/net/route.h b/sysdeps/mach/hurd/net/route.h
index 7bbd94fb56..e7c276edf3 100644
--- a/sysdeps/mach/hurd/net/route.h
+++ b/sysdeps/mach/hurd/net/route.h
@@ -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;