-
Notifications
You must be signed in to change notification settings - Fork 450
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add getnameinfo as a fall through case for fqdn resolution (#1810)
If canonname includes multiple parts ('.'), then assume that that is a FQDN and return. Otherwise, use getnameinfo as a fallback. If that return value is not an IP, return it. If all else fails, just return what we originally received as an argument. --------- Signed-off-by: Thomas Powell <thomas.powell@progress.com>
- Loading branch information
1 parent
d5d0324
commit 2974dcb
Showing
2 changed files
with
75 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters