summaryrefslogtreecommitdiff
path: root/system/openssh/fix-utmp.patch
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2018-02-20 22:02:40 -0600
commit10613294b48e3736c0edf5f93c6ff34b52339079 (patch)
treefca7f0455d929960160c5b7a58bf7723e757d65b /system/openssh/fix-utmp.patch
parentf6b52bbe6f5db81c293948a2aedf978b508eb742 (diff)
downloadpackages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.gz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.bz2
packages-10613294b48e3736c0edf5f93c6ff34b52339079.tar.xz
packages-10613294b48e3736c0edf5f93c6ff34b52339079.zip
system/openssh: add drastically simplified OpenSSH
Diffstat (limited to 'system/openssh/fix-utmp.patch')
-rw-r--r--system/openssh/fix-utmp.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/system/openssh/fix-utmp.patch b/system/openssh/fix-utmp.patch
new file mode 100644
index 000000000..275e80590
--- /dev/null
+++ b/system/openssh/fix-utmp.patch
@@ -0,0 +1,11 @@
+--- openssh-6.8p1.orig/loginrec.c 2015-03-17 07:49:20.000000000 -0200
++++ openssh-6.8p1/loginrec.c 2015-03-19 10:45:45.780276841 -0200
+@@ -783,7 +783,7 @@
+ if (li->hostaddr.sa.sa_family == AF_INET)
+ utx->ut_addr = li->hostaddr.sa_in.sin_addr.s_addr;
+ # endif
+-# ifdef HAVE_ADDR_V6_IN_UTMP
++# ifdef HAVE_ADDR_V6_IN_UTMPX
+ /* this is just a 128-bit IPv6 address */
+ if (li->hostaddr.sa.sa_family == AF_INET6) {
+ sa6 = ((struct sockaddr_in6 *)&li->hostaddr.sa);