[w3m-dev 03967] Re: IPv4/IPv6 only option patch

* NEWS: options: -4, -6
* fm.h (DNS_ORDER_INET_ONLY): added
	(DNS_ORDER_INET6_ONLY): added
	(ai_family_order_table): [3]->[7]
* main.c (fusage): add -4/-6
	(main): -4/-6 mapped to dns_order=4/dns_order=6
* rc.c (dnsorders): add DNS_ORDER_INET_ONLY, DNS_ORDER_INET6_ONLY
* url.c (dnsorders): add 3-6
From: Fumitoshi UKAI  <ukai@debian.or.jp>
This commit is contained in:
Fumitoshi UKAI
2003-09-22 17:37:40 +00:00
parent d29dc6b852
commit f9f7f794a2
6 changed files with 37 additions and 8 deletions

4
rc.c
View File

@@ -1,4 +1,4 @@
/* $Id: rc.c,v 1.85 2003/07/26 17:16:24 ukai Exp $ */
/* $Id: rc.c,v 1.86 2003/09/22 17:37:41 ukai Exp $ */
/*
* Initialization file etc.
*/
@@ -470,6 +470,8 @@ static struct sel_c dnsorders[] = {
{N_S(DNS_ORDER_UNSPEC), "unspecified"},
{N_S(DNS_ORDER_INET_INET6), "inet inet6"},
{N_S(DNS_ORDER_INET6_INET), "inet6 inet"},
{N_S(DNS_ORDER_INET_ONLY), "inet only"},
{N_S(DNS_ORDER_INET6_ONLY), "inet6 only"},
{0, NULL, NULL}
};
#endif /* INET6 */