Generalise --interface-name to cope with IPv6 addresses.

This commit is contained in:
Simon Kelley committed 2013-05-20 11:28:32 +01:00
1 parent cfcad42ff1
commit 115ac3e4d7
11 files changed
+306 -139

No files matched your search

+1 -1
View File
@@ -201,7 +201,7 @@ void tftp_request(struct listener *listen, time_t now)
if (!iface_check(listen->family, &addra, name, NULL))
{
if (!option_bool(OPT_CLEVERBIND))
enumerate_interfaces();
enumerate_interfaces(0);
if (!loopback_exception(listen->tftpfd, listen->family, &addra, name) &&
!label_exception(if_index, listen->family, &addra) )
return;