diff options
author | 1999-11-09 17:49:01 +0000 | |
---|---|---|
committer | 1999-11-09 17:49:01 +0000 | |
commit | ddf2cd0880eae82b8bf3f44cdad221e25ac2d674 (patch) | |
tree | 6f22a1cec4d1b01901f3834a65a5f03ca686ea5d /lib/libc/stdlib/calloc.c | |
parent | sync (diff) | |
download | wireguard-openbsd-ddf2cd0880eae82b8bf3f44cdad221e25ac2d674.tar.xz wireguard-openbsd-ddf2cd0880eae82b8bf3f44cdad221e25ac2d674.zip |
Add SIOCSIFMEDIA and SIOCGIFMEDIA to the switch in ifioctl(). SIOCSIFMEDIA
is only allowed if the user is the superuser. Aparently this got
missed when the ifmedia support was added in ages ago. More or less
based on how NetBSD does it (though it is rather obvious).
Diffstat (limited to 'lib/libc/stdlib/calloc.c')
0 files changed, 0 insertions, 0 deletions