diff options
author | Ben Pfaff <blp@nicira.com> | 2010-01-07 15:00:47 -0800 |
---|---|---|
committer | Ben Pfaff <blp@nicira.com> | 2010-01-07 15:00:47 -0800 |
commit | 36775dad3505929f8370166c33e8e0f04ca96c1c (patch) | |
tree | 9386796394093e093402d5ec716c595f24ef1266 /lib/stream-tcp.c | |
parent | e1bd3bee5cd7065e019b4b6736918b2fda95fa49 (diff) | |
download | openvswitch-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.c | 2 |
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 { |