Mercurial > gftp.yaz
diff lib/options.h @ 313:32a6b26b7026
2003-11-9 Brian Masney <masneyb@gftp.org>
* lib/options.h lib/protoocols.c - added enable_ipv6 option.
* lib/rfc959.c lib/protocols.c - if there is an error creating a socket, log a more informative error about what kind of socket was attempted
to be created.
author | masneyb |
---|---|
date | Mon, 10 Nov 2003 01:59:51 +0000 |
parents | a85a097bbb02 |
children | 853981bbd4d7 |
line wrap: on
line diff
--- a/lib/options.h Mon Nov 10 01:42:38 2003 +0000 +++ b/lib/options.h Mon Nov 10 01:59:51 2003 +0000 @@ -111,6 +111,12 @@ {"default_protocol", N_("Default Protocol:"), gftp_option_type_textcombo, "FTP", NULL, 0, N_("This specifies the default protocol to use"), GFTP_PORT_ALL, NULL}, +#if defined (HAVE_GETADDRINFO) && defined (HAVE_GAI_STRERROR) + {"enable_ipv6", N_("Enable IPv6 support"), + gftp_option_type_checkbox, GINT_TO_POINTER(1), NULL, + GFTP_CVARS_FLAGS_SHOW_BOOKMARK, + N_("Enable IPv6 support"), GFTP_PORT_ALL, NULL}, +#endif {"list_dblclk_action", "", gftp_option_type_int, GINT_TO_POINTER(0), NULL, 0,