summaryrefslogtreecommitdiff
path: root/lib/stream-tcp.c
diff options
context:
space:
mode:
authorBen Pfaff <blp@nicira.com>2010-01-07 15:00:47 -0800
committerBen Pfaff <blp@nicira.com>2010-01-07 15:00:47 -0800
commit36775dad3505929f8370166c33e8e0f04ca96c1c (patch)
tree9386796394093e093402d5ec716c595f24ef1266 /lib/stream-tcp.c
parente1bd3bee5cd7065e019b4b6736918b2fda95fa49 (diff)
downloadopenvswitch-36775dad3505929f8370166c33e8e0f04ca96c1c.tar.gz
socket-util: Make inet_open_passive() pass back the bound address.
This feature is useful in an upcoming commit.
Diffstat (limited to 'lib/stream-tcp.c')
-rw-r--r--lib/stream-tcp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/stream-tcp.c b/lib/stream-tcp.c
index 94ff74cb2..dd55845fc 100644
--- a/lib/stream-tcp.c
+++ b/lib/stream-tcp.c
@@ -105,7 +105,7 @@ ptcp_open(const char *name UNUSED, char *suffix, struct pstream **pstreamp)
{
int fd;
- fd = inet_open_passive(SOCK_STREAM, suffix, -1);
+ fd = inet_open_passive(SOCK_STREAM, suffix, -1, NULL);
if (fd < 0) {
return -fd;
} else {