Displaying 2 results from an estimated 2 matches for "utx_host".
Did you mean:
ut_host
2007 Jan 15
0
utmp ut_syslen bug?
loginrec.c:794
/* ut_syslen is the length of the utx_host string */
utx->ut_syslen = MIN(strlen(li->hostname), sizeof(utx->ut_host));
But utmpx.h (on Solaris) says:
short ut_syslen; /* significant length of ut_host */
/* including terminating null */
So shouldn't the...
2002 Dec 29
0
[Bug 460] New: ut_addr_v6 not used
...n6_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;
+ }
+ }
+# endif
# ifdef HAVE_SYSLEN_IN_UTMPX
/* ut_syslen is the length of the utx_host string */
utx->ut_syslen = MIN(strlen(li->hostname), sizeof(utx->ut_host));
diff -ruN t/openssh-3.5p1/session.c openssh-3.5p1/session.c
--- t/openssh-3.5p1/session.c 2002-09-26 02:38:50.000000000 +0200
+++ openssh-3.5p1/session.c 2002-11-05 13:11:30.000000000 +0100
@@ -730,8 +730,8 @@...