tftp-hpa-google/tftpd
Karsten Keil cfb85d4dec Fix numeric IPv6 address handling
This patch fix a issue with numeric IPv6 addresses in the
tftpd -a address[:port] option.

Since IPv6 addresses use colon ':' in differnt counts itself, we cannot detect,
if the last colon is a seperator, so it is needed to put the IPv6 address into
square brackets, e.g. [2001:db8::1], so a optional port assignment is
unambiguous.
The patch also allows to specify numeric IPv6 addresses in other places enclosed
in [], but in these cases it accept these also without [].

Signed-off-by: Karsten Keil <kkeil@suse.de>
Signed-off-by: H. Peter Anvin <hpa@zytor.com>
2008-07-30 15:20:31 -07:00
..
Makefile Move common code to a common/ subdirectory 2006-10-04 10:19:06 -07:00
misc.c Reformat the source code 2008-07-08 17:14:44 -04:00
recvfrom.c Add support for IPv6 in the server and client. 2008-07-23 14:29:41 -04:00
recvfrom.h Add support for IPv6 in the server and client. 2008-07-23 14:29:41 -04:00
remap.c Reformat the source code 2008-07-08 17:14:44 -04:00
remap.h Reformat the source code 2008-07-08 17:14:44 -04:00
sample.rules Remove more obsolete $Id$ tags 2008-07-22 15:07:24 -04:00
tftpd.8.in Fix numeric IPv6 address handling 2008-07-30 15:20:31 -07:00
tftpd.c Fix numeric IPv6 address handling 2008-07-30 15:20:31 -07:00
tftpd.h Remove long since obsolete ID tags 2008-07-08 17:30:27 -04:00