summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--pflocal/sock.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pflocal/sock.c b/pflocal/sock.c
index 24dda9b3..f340b586 100644
--- a/pflocal/sock.c
+++ b/pflocal/sock.c
@@ -117,7 +117,7 @@ sock_create (struct pipe_class *pipe_class, struct sock **sock)
new->refs = 0;
new->flags = 0;
new->write_pipe = NULL;
- new->id = next_sock_id++;
+ new->id = MACH_PORT_NULL;
new->listen_queue = NULL;
new->connect_queue = NULL;
new->pipe_class = pipe_class;