summaryrefslogtreecommitdiffstats
path: root/src/network.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/network.c')
-rwxr-xr-xsrc/network.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/network.c b/src/network.c
index cb2001d..e24ec3a 100755
--- a/src/network.c
+++ b/src/network.c
@@ -309,6 +309,7 @@ static int create_ipv6_listener(struct listener **link, int port)
l->tcpfd = tcpfd;
l->tftpfd = -1;
l->family = AF_INET6;
+ l->iface = NULL;
l->next = NULL;
*link = l;
@@ -381,6 +382,7 @@ struct listener *create_wildcard_listeners(void)
l->fd = fd;
l->tcpfd = tcpfd;
l->tftpfd = tftpfd;
+ l->iface = NULL;
l->next = l6;
return l;