Bug 2296 - loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
Summary: loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
Status: CLOSED FIXED
Alias: None
Product: Portable OpenSSH
Classification: Unclassified
Component: sshd (show other bugs)
Version: 6.7p1
Hardware: All All
: P5 major
Assignee: Assigned to nobody
URL:
Keywords:
Depends on:
Blocks: V_6_8
  Show dependency treegraph
 
Reported: 2014-10-18 16:08 AEDT by midipix
Modified: 2015-03-18 18:16 AEDT (History)
1 user (show)

See Also:


Attachments
loginrec.c: change the 'ut' typo to 'utx' where applicable (701 bytes, patch)
2014-10-18 16:08 AEDT, midipix
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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