diff options
Diffstat (limited to 'newlib/libc')
-rw-r--r-- | newlib/libc/sys/linux/net/name6.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/newlib/libc/sys/linux/net/name6.c b/newlib/libc/sys/linux/net/name6.c index 80037e8f9..f220e213c 100644 --- a/newlib/libc/sys/linux/net/name6.c +++ b/newlib/libc/sys/linux/net/name6.c @@ -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; } |