diff options
author | Philip Guenther <guenther@cvs.openbsd.org> | 2015-01-19 19:47:30 +0000 |
---|---|---|
committer | Philip Guenther <guenther@cvs.openbsd.org> | 2015-01-19 19:47:30 +0000 |
commit | 20957e5171f56a45960571c5fc40b49a04b35dcb (patch) | |
tree | 002a5e8e057005c2ea608f9f4f414a5aa01e56ad /sys | |
parent | 94fb85a2a1f3269d5841c9165c087ce56a28bbb5 (diff) |
Delete ABI compat for osockaddr: 20 years and many ABI bumps since sa_len added
ok krw@ bluhm@ deraadt@
Diffstat (limited to 'sys')
-rw-r--r-- | sys/kern/uipc_syscalls.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/sys/kern/uipc_syscalls.c b/sys/kern/uipc_syscalls.c index 2d382e3e4a1..bddd412f550 100644 --- a/sys/kern/uipc_syscalls.c +++ b/sys/kern/uipc_syscalls.c @@ -1,4 +1,4 @@ -/* $OpenBSD: uipc_syscalls.c,v 1.97 2014/12/13 21:05:33 doug Exp $ */ +/* $OpenBSD: uipc_syscalls.c,v 1.98 2015/01/19 19:47:29 guenther Exp $ */ /* $NetBSD: uipc_syscalls.c,v 1.19 1996/02/09 19:00:48 christos Exp $ */ /* @@ -1013,10 +1013,6 @@ sockargs(struct mbuf **mp, const void *buf, size_t buflen, int type) *mp = m; if (type == MT_SONAME) { sa = mtod(m, struct sockaddr *); -#if BYTE_ORDER != BIG_ENDIAN - if (sa->sa_family == 0 && sa->sa_len < AF_MAX) - sa->sa_family = sa->sa_len; -#endif sa->sa_len = buflen; } return (0); |