Remove duplicate address family from listener

Since address already contain family, remove separate family from
listener. Use now family from address itself.
This commit is contained in:
Petr Menšík
2019-07-15 17:16:44 +02:00
committed by Simon Kelley
parent 49bdf1ead9
commit 1c1b925052
4 changed files with 30 additions and 29 deletions

View File

@@ -572,7 +572,7 @@ struct irec {
};
struct listener {
int fd, tcpfd, tftpfd, family, used;
int fd, tcpfd, tftpfd, used;
union mysockaddr addr;
struct irec *iface; /* only sometimes valid for non-wildcard */
struct listener *next;