aboutsummaryrefslogtreecommitdiff
path: root/lib/stream-tcp.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/stream-tcp.c')
-rw-r--r--lib/stream-tcp.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c
index bfcf35c7..94ff74cb 100644
--- a/lib/stream-tcp.c
+++ b/lib/stream-tcp.c
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2008, 2009 Nicira Networks.
+ * Copyright (c) 2008, 2009, 2010 Nicira Networks.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
@@ -105,7 +105,7 @@ ptcp_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp)
{
int fd;
- fd = inet_open_passive(SOCK_STREAM, suffix, 0);
+ fd = inet_open_passive(SOCK_STREAM, suffix, -1);
if (fd < 0) {
return -fd;
} else {