Gavin Atkinson 49e49bdbc1 Move determination of socket buffer sizes from startup to the first time a
socket is used.  The previous code structure assumed that AF_INET sockets
were always available, which is an invalid assumption on IPv6-only systems.

This merges the fololowing revisions from NetBSD:
src/usr.bin/ftp/main.c 1.120
src/usr.bin/ftp/util.c 1.156

PR:		bin/162661
Tested by:	bz
Obtained from:	NetBSD
MFC after:	1 week
2012-03-10 11:25:53 +00:00
..
2011-07-14 14:01:36 +00:00
2011-12-13 17:34:47 +00:00
2012-01-05 21:36:12 +00:00
2010-11-18 18:22:58 +00:00
2012-02-25 10:58:02 +00:00
2011-05-25 14:13:53 +00:00
2011-12-28 05:58:31 +00:00
2012-02-22 03:36:15 +00:00
2011-12-08 02:40:46 +00:00
2011-11-01 02:01:55 +00:00
2010-11-03 10:46:39 +00:00