Bug 1417

Summary: Better error message when hostname resolution fails.
Product: Portable OpenSSH Reporter: Disco Vince Giffin <vgiffin>
Component: MiscellaneousAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: normal CC: dtucker
Priority: P2    
Version: 4.7p1   
Hardware: Other   
OS: Mac OS X   
Bug Depends on:    
Bug Blocks: 1353    
Attachments:
Description Flags
Better name resolution error.
none
Add helper function to handle EAI_SYSTEM none

Description Disco Vince Giffin 2007-12-21 15:40:34 AEDT
Created attachment 1413 [details]
Better name resolution error.

Attached is a patch for building OpenSSH 4.7p1 on Mac OS X.

This patch improves the generic "System error" message when hostname resolution fails.
Comment 1 Darren Tucker 2007-12-28 02:14:28 AEDT
Created attachment 1423 [details]
Add helper function to handle EAI_SYSTEM

There's several other places where EAI_SYSTEM is not handled.  This patch adds a helper function for this and uses that for consistent handling.

The patch has been committed and will be 4.8.  The text of the message has not been changed, though.
Comment 2 Darren Tucker 2007-12-31 21:52:21 AEDT
Patch #1423 has been committed and will be in 4.8.  Thanks for the report.
Comment 3 Damien Miller 2008-03-31 15:23:15 AEDT
Fix shipped in 4.9/4.9p1 release.