git://git.onelab.eu
/
sliver-openvswitch.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
socket-util: Make inet_open_passive() pass back the bound address.
[sliver-openvswitch.git]
/
lib
/
stream-tcp.c
diff --git
a/lib/stream-tcp.c
b/lib/stream-tcp.c
index
94ff74c
..
dd55845
100644
(file)
--- 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 {