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:
Guus Sliepen 2014-01-20 21:19:13 +01:00
parent e187758a7e
commit 38adc8bf54
7 changed files with 144 additions and 92 deletions

View file

@ -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"