mirror of
https://github.com/openvswitch/ovs
synced 2025-10-25 15:07:05 +00:00
socket-util: Make inet_open_passive() pass back the bound address.
This feature is useful in an upcoming commit.
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user