Bug 2296

Summary: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
Product: Portable OpenSSH Reporter: midipix <writeonce>
Component: sshdAssignee: Assigned to nobody <unassigned-bugs>
Status: CLOSED FIXED    
Severity: major CC: djm
Priority: P5    
Version: 6.7p1   
Hardware: All   
OS: All   
Bug Depends on:    
Bug Blocks: 2266    
Attachments:
Description Flags
loginrec.c: change the 'ut' typo to 'utx' where applicable none

Description midipix 2014-10-18 16:08:39 AEDT
Created attachment 2487 [details]
loginrec.c: change the 'ut' typo to 'utx' where applicable

In loginrec.c: construct_utmpx(), the effective code path when HAVE_ADDR_V6_IN_UTMP is defined contains a typo which results in failure to compile.  Attached is a patch that fixes this error.

* filed against 6.7, but applies also to the current version and several previous versions (6.6 at the least).
Comment 1 Damien Miller 2014-12-23 15:27:59 AEDT
patch applied - will be in openssh-6.8. Thanks!
Comment 2 Damien Miller 2015-03-18 18:16:56 AEDT
openssh-6.8 is released