tftpd: the "is this address local" algorithm no longer works on Linux
commitc6d2c36b1a2b1986cab7aebb72d120fa118bdfeb
authorH. Peter Anvin <hpa@zytor.com>
Fri, 9 Dec 2011 05:48:06 +0000 (8 21:48 -0800)
committerH. Peter Anvin <hpa@zytor.com>
Fri, 9 Dec 2011 05:48:06 +0000 (8 21:48 -0800)
tree200ba3e1488a9eb276562b6a57c894d5d841d0c3
parentbadf05140d3c2408715a73a52c0f35887e337c04
tftpd: the "is this address local" algorithm no longer works on Linux

Linux no longer tries to match the local address with the remote one,
so address_is_local() fails.  Try instead to simply see if we can bind
to the explicit address.

Signed-off-by: H. Peter Anvin <hpa@zytor.com>
tftpd/recvfrom.c