summaryrefslogtreecommitdiff
path: root/package/openssh/patches/patch-openbsd-compat_port-tun_c
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:05:26 +0200
committerWaldemar Brodkorb <wbx@openadk.org>2010-04-04 10:05:26 +0200
commit6233951bd273bc9245859d95a44a2278d55a7b65 (patch)
treeedf20257943326c3819c946399e3d41ecdecb01f /package/openssh/patches/patch-openbsd-compat_port-tun_c
parentddb66119df7bb790db83b85e34b0365514d60b02 (diff)
update to latest upstream
Diffstat (limited to 'package/openssh/patches/patch-openbsd-compat_port-tun_c')
-rw-r--r--package/openssh/patches/patch-openbsd-compat_port-tun_c21
1 files changed, 0 insertions, 21 deletions
diff --git a/package/openssh/patches/patch-openbsd-compat_port-tun_c b/package/openssh/patches/patch-openbsd-compat_port-tun_c
deleted file mode 100644
index c4eb11c4c..000000000
--- a/package/openssh/patches/patch-openbsd-compat_port-tun_c
+++ /dev/null
@@ -1,21 +0,0 @@
-$Id: update-patches 24 2008-08-31 14:56:13Z wbx $
---- openssh-5.2p1.orig/openbsd-compat/port-tun.c 2008-05-19 07:28:36.000000000 +0200
-+++ openssh-5.2p1/openbsd-compat/port-tun.c 2009-09-18 12:25:49.000000000 +0200
-@@ -67,7 +67,7 @@ sys_tun_open(int tun, int mode)
- return (-1);
- }
-
-- bzero(&ifr, sizeof(ifr));
-+ memset(&ifr, 0, sizeof(ifr));
-
- if (mode == SSH_TUNMODE_ETHERNET) {
- ifr.ifr_flags = IFF_TAP;
-@@ -213,7 +213,7 @@ sys_tun_infilter(struct Channel *c, char
- if (len <= 0 || len > (int)(sizeof(rbuf) - sizeof(*af)))
- return (-1);
- ptr = (char *)&rbuf[0];
-- bcopy(buf, ptr + sizeof(u_int32_t), len);
-+ memcpy(ptr + sizeof(u_int32_t), buf, len);
- len += sizeof(u_int32_t);
- af = (u_int32_t *)ptr;
-