2006-03-29 Jeff Johnston <jjohnstn@redhat.com>

* libc/sys/linux/net/name6.c: Fix struct references.
This commit is contained in:
Jeff Johnston 2006-03-29 21:45:17 +00:00
parent e47e7d6b02
commit 9e443adbaf
2 changed files with 8 additions and 4 deletions

View File

@ -1,3 +1,7 @@
2006-03-29 Jeff Johnston <jjohnstn@redhat.com>
* libc/sys/linux/net/name6.c: Fix struct references.
2006-03-22 Mark Mitchell <mark@codesourcery.com>
* configure.host: Allow hosts to set the default

View File

@ -1499,16 +1499,16 @@ _dns_ghbyname(void *rval, void *cb_data, va_list ap)
#ifdef INET6
switch (af) {
case AF_UNSPEC:
&rtl4->rtl_entry = NULL; rtl4.rtl_type = T_A;
&rtl6->rtl_entry = &rtl4; rtl6.rtl_type = T_AAAA;
rtl4.rtl_entry = NULL; rtl4.rtl_type = T_A;
rtl6.rtl_entry = &rtl4; rtl6.rtl_type = T_AAAA;
rtl = &rtl6;
break;
case AF_INET6:
&rtl6->rtl_entry = NULL; rtl6.rtl_type = T_AAAA;
rtl6.rtl_entry = NULL; rtl6.rtl_type = T_AAAA;
rtl = &rtl6;
break;
case AF_INET:
&rtl4->rtl_entry = NULL; rtl4.rtl_type = T_A;
rtl4.rtl_entry = NULL; rtl4.rtl_type = T_A;
rtl = &rtl4;
break;
}