diff options
author | 2015-01-21 02:23:14 +0000 | |
---|---|---|
committer | 2015-01-21 02:23:14 +0000 | |
commit | 8a1f5a5836e324050b8d65cf637566d24928f8bc (patch) | |
tree | a81062acbf4284972a3f06d2f664888367eb9cae /sys/net/if_tun.c | |
parent | pass empty request lines through to tbl(7); sometimes, they end a layout (diff) | |
download | wireguard-openbsd-8a1f5a5836e324050b8d65cf637566d24928f8bc.tar.xz wireguard-openbsd-8a1f5a5836e324050b8d65cf637566d24928f8bc.zip |
Delete option COMPAT_43: support for pre-sa_len binaries has been obsolete
for a couple decades. Keep the OSIOCGIFCONF ioctl to support COMPAT_LINUX
but move the rest of the Linux-specific ioctl() handling into linux_socket.c
This lets struct osockaddr finally move from sys/socket.h to protocols/talkd.h
ok krw@ deraadt@ mpi@
Diffstat (limited to 'sys/net/if_tun.c')
-rw-r--r-- | sys/net/if_tun.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/sys/net/if_tun.c b/sys/net/if_tun.c index accd04e4777..045e282e7cf 100644 --- a/sys/net/if_tun.c +++ b/sys/net/if_tun.c @@ -1,4 +1,4 @@ -/* $OpenBSD: if_tun.c,v 1.130 2014/12/19 17:14:40 tedu Exp $ */ +/* $OpenBSD: if_tun.c,v 1.131 2015/01/21 02:23:14 guenther Exp $ */ /* $NetBSD: if_tun.c,v 1.24 1996/05/07 02:40:48 thorpej Exp $ */ /* @@ -673,7 +673,6 @@ tunioctl(dev_t dev, u_long cmd, caddr_t data, int flag, struct proc *p) case TIOCGPGRP: *(int *)data = tp->tun_pgid; break; - case OSIOCGIFADDR: case SIOCGIFADDR: if (!(tp->tun_flags & TUN_LAYER2)) { splx(s); |