summaryrefslogtreecommitdiff
path: root/sys
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-01 02:13:03 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>2010-07-01 02:13:03 +0000
commit94742a9e99f2a97a4510d879de69bf00441ca028 (patch)
treed2f04448759534d8558fe5ea2dfafc2c8a164a2b /sys
parentcd104fc737542ce663549f1f95c66566c48816b8 (diff)
Put SO_PEERCRED into the non-flag area
suggested by guenther
Diffstat (limited to 'sys')
-rw-r--r--sys/sys/socket.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/socket.h b/sys/sys/socket.h
index 30e44a15386..28197b9c3f5 100644
--- a/sys/sys/socket.h
+++ b/sys/sys/socket.h
@@ -1,4 +1,4 @@
-/* $OpenBSD: socket.h,v 1.66 2010/06/30 20:38:50 tedu Exp $ */
+/* $OpenBSD: socket.h,v 1.67 2010/07/01 02:13:02 deraadt Exp $ */
/* $NetBSD: socket.h,v 1.14 1996/02/09 18:25:36 christos Exp $ */
/*
@@ -71,8 +71,7 @@
#define SO_REUSEPORT 0x0200 /* allow local address & port reuse */
#define SO_JUMBO 0x0400 /* try to use jumbograms */
#define SO_TIMESTAMP 0x0800 /* timestamp received dgram traffic */
-#define SO_BINDANY 0x1000 /* allow bind to any address */
-#define SO_PEERCRED 0x2000 /* get connect-time credentials */
+#define SO_BINDANY 0x1000 /* allow bind to any address */
/*
* Additional options, not kept in so_options.
@@ -87,6 +86,7 @@
#define SO_TYPE 0x1008 /* get socket type */
#define SO_NETPROC 0x1020 /* multiplex; network processing */
#define SO_RDOMAIN 0x1021 /* routing domain socket belongs to */
+#define SO_PEERCRED 0x1022 /* get connect-time credentials */
/*
* Structure used for manipulating linger option.