diff options
author | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-21 19:28:56 +0200 |
---|---|---|
committer | Samuel Thibault <samuel.thibault@ens-lyon.org> | 2022-09-21 19:58:44 +0200 |
commit | 385f2ecda92ed7602af9a8b1b54a754f0ca6174b (patch) | |
tree | ba4a77a5e4de1f919149fe34deaeb8c5e8114cf1 /sysdeps/mach/hurd/bits | |
parent | b84199eb18cba47f73431f7fcaa6c1d4d3ac072e (diff) | |
download | glibc-385f2ecda92ed7602af9a8b1b54a754f0ca6174b.tar.gz glibc-385f2ecda92ed7602af9a8b1b54a754f0ca6174b.tar.xz glibc-385f2ecda92ed7602af9a8b1b54a754f0ca6174b.zip |
hurd: Fix SIOCADD/DELRT ioctls
The hurd network stack uses struct ifrtreq rather than ortentry.
Diffstat (limited to 'sysdeps/mach/hurd/bits')
-rw-r--r-- | sysdeps/mach/hurd/bits/ioctls.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/sysdeps/mach/hurd/bits/ioctls.h b/sysdeps/mach/hurd/bits/ioctls.h index 4421a88611..1513b8c6b8 100644 --- a/sysdeps/mach/hurd/bits/ioctls.h +++ b/sysdeps/mach/hurd/bits/ioctls.h @@ -281,8 +281,8 @@ enum __ioctl_datum { IOC_8, IOC_16, IOC_32, IOC_64 }; #define SIOCSPGRP _IOW('s', 8, int) /* set process group */ #define SIOCGPGRP _IOR('s', 9, int) /* get process group */ -#define SIOCADDRT _IOW('r', 10, struct ortentry) /* add route */ -#define SIOCDELRT _IOW('r', 11, struct ortentry) /* delete route */ +#define SIOCADDRT _IOW('r', 10, struct ifrtreq) /* add route */ +#define SIOCDELRT _IOW('r', 11, struct ifrtreq) /* delete route */ #define SIOCSIFADDR _IOW('i', 12, struct ifreq) /* set ifnet address */ #define OSIOCGIFADDR _IOWR('i',13, struct ifreq) /* get ifnet address */ |