diff options
author | Roland McGrath <roland@hack.frob.com> | 2013-08-27 10:49:36 -0700 |
---|---|---|
committer | Roland McGrath <roland@hack.frob.com> | 2013-08-27 10:49:36 -0700 |
commit | f890a59b10b6a4b8723b86545e8b38ccc690021c (patch) | |
tree | 056afdd1365e4e08c61ea5f1c260f3daa454abec /resolv/res_hconf.c | |
parent | 5d1f0a09f3634b29d9cbbd7c7337d546502363cb (diff) | |
download | glibc-f890a59b10b6a4b8723b86545e8b38ccc690021c.tar.gz glibc-f890a59b10b6a4b8723b86545e8b38ccc690021c.tar.xz glibc-f890a59b10b6a4b8723b86545e8b38ccc690021c.zip |
Mild decrufting in resolv code.
Diffstat (limited to 'resolv/res_hconf.c')
-rw-r--r-- | resolv/res_hconf.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/resolv/res_hconf.c b/resolv/res_hconf.c index 8ac46380a3..a92751b873 100644 --- a/resolv/res_hconf.c +++ b/resolv/res_hconf.c @@ -359,6 +359,7 @@ _res_hconf_init (void) #ifndef NOT_IN_libc +# if defined SIOCGIFCONF && defined SIOCGIFNETMASK /* List of known interfaces. */ libc_freeres_ptr ( static struct netaddr @@ -373,6 +374,7 @@ static struct netaddr } ipv4; } u; } *ifaddrs); +# endif /* Reorder addresses returned in a hostent such that the first address is an address on the local subnet, if there is such an address. |