mirror of
https://github.com/pi-hole/dnsmasq.git
synced 2025-12-19 10:18:25 +00:00
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:
committed by
Simon Kelley
parent
49bdf1ead9
commit
1c1b925052
@@ -964,7 +964,6 @@ static struct listener *create_listeners(union mysockaddr *addr, int do_tftp, in
|
||||
{
|
||||
l = safe_malloc(sizeof(struct listener));
|
||||
l->next = NULL;
|
||||
l->family = addr->sa.sa_family;
|
||||
l->fd = fd;
|
||||
l->tcpfd = tcpfd;
|
||||
l->tftpfd = tftpfd;
|
||||
|
||||
Reference in New Issue
Block a user