Skip to content

Commit

Permalink
Fix canon names not being returned from mono_get_address_info. Fixes …
Browse files Browse the repository at this point in the history
…issue mono#8935.
  • Loading branch information
kg committed Jun 12, 2018
1 parent 3ac5056 commit a5f0092
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mono/utils/networking-posix.c
Expand Up @@ -75,7 +75,7 @@ mono_get_address_info (const char *hostname, int port, int flags, MonoAddressInf
/* Some ancient libc don't define AI_ADDRCONFIG */
#ifdef AI_ADDRCONFIG
if (flags & MONO_HINT_CONFIGURED_ONLY)
hints.ai_flags = AI_ADDRCONFIG;
hints.ai_flags |= AI_ADDRCONFIG;
#endif
sprintf (service_name, "%d", port);

Expand Down

0 comments on commit a5f0092

Please sign in to comment.