Bugzilla – Attachment 2487 Details for
Bug 2296
loginrec.c fails to compile when HAVE_ADDR_V6_IN_UTMP is defined
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
loginrec.c: change the 'ut' typo to 'utx' where applicable
loginrec.diff (text/plain), 701 bytes, created by
midipix
on 2014-10-18 16:08:39 AEDT
(
hide
)
Description:
loginrec.c: change the 'ut' typo to 'utx' where applicable
Filename:
MIME Type:
Creator:
midipix
Created:
2014-10-18 16:08:39 AEDT
Size:
701 bytes
patch
obsolete
>--- a/loginrec.c 2014-01-16 20:23:24.000000000 -0500 >+++ b/loginrec.c 2014-10-18 00:36:09.000000000 -0400 >@@ -787,12 +787,12 @@ > /* this is just a 128-bit IPv6 address */ > if (li->hostaddr.sa.sa_family == AF_INET6) { > sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa); >- memcpy(ut->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); >+ memcpy(utx->ut_addr_v6, sa6->sin6_addr.s6_addr, 16); > if (IN6_IS_ADDR_V4MAPPED(&sa6->sin6_addr)) { >- ut->ut_addr_v6[0] = ut->ut_addr_v6[3]; >- ut->ut_addr_v6[1] = 0; >- ut->ut_addr_v6[2] = 0; >- ut->ut_addr_v6[3] = 0; >+ utx->ut_addr_v6[0] = utx->ut_addr_v6[3]; >+ utx->ut_addr_v6[1] = 0; >+ utx->ut_addr_v6[2] = 0; >+ utx->ut_addr_v6[3] = 0; > } > } > # endif
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 2296
: 2487