commit | 7678ae7f14e5aa6792c4486d4eedcb2db887872c | [log] [tgz] |
---|---|---|
author | H. Peter Anvin <hpa@zytor.com> | Fri Aug 07 11:49:13 2015 -0700 |
committer | H. Peter Anvin <hpa@zytor.com> | Fri Aug 07 11:49:13 2015 -0700 |
tree | aa096f1a99486dca86fea3dea8c10cc5d7650728 | |
parent | ff819b108a14f40612ebfb15937ae4a1b632bab9 [diff] |
tftpd: Canonicalize all the addresses We cannot canonicalize myaddr and not the from address. We need to canonicalize both of them, or else we'll try to create an IPv4 socket and bind an IPv6-mapped IPv4 address to it, which is going to fail. Signed-off-by: H. Peter Anvin <hpa@zytor.com>