From f9f7f794a2a49b9a83ba255cdd0b15e7cc0e86cd Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Mon, 22 Sep 2003 17:37:40 +0000 Subject: [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 --- rc.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'rc.c') diff --git a/rc.c b/rc.c index 67ec95b..20beacf 100644 --- a/rc.c +++ b/rc.c @@ -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 */ -- cgit v1.2.3