Add the ListenAddress option.
ListenAddress works the same as BindToAddress, except that from now on, explicitly binding outgoing packets to the address of a socket is only done for sockets specified with BindToAddress.
This commit is contained in:
parent
e187758a7e
commit
38adc8bf54
7 changed files with 144 additions and 92 deletions
|
|
@ -103,6 +103,7 @@ typedef struct listen_socket_t {
|
|||
io_t tcp;
|
||||
io_t udp;
|
||||
sockaddr_t sa;
|
||||
bool bindto;
|
||||
} listen_socket_t;
|
||||
|
||||
#include "conf.h"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue