summaryrefslogtreecommitdiff
path: root/lib/stream-ssl.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-ssl.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-ssl.c')
-rw-r--r--lib/stream-ssl.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/stream-ssl.c b/lib/stream-ssl.c
index b14ce550b..442a1e6a5 100644
--- a/lib/stream-ssl.c
+++ b/lib/stream-ssl.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.
@@ -721,7 +721,7 @@ pssl_open(const char *name, char *suffix, struct pstream **pstreamp)
return retval;
}
- fd = inet_open_passive(SOCK_STREAM, suffix, OFP_SSL_PORT);
+ fd = inet_open_passive(SOCK_STREAM, suffix, OFP_SSL_PORT, NULL);
if (fd < 0) {
return -fd;
}