diff options
Diffstat (limited to 'main/iputils/net-misc_iputils_files_iputils-20121221-fix-init-elemnt.patch')
-rw-r--r-- | main/iputils/net-misc_iputils_files_iputils-20121221-fix-init-elemnt.patch | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/main/iputils/net-misc_iputils_files_iputils-20121221-fix-init-elemnt.patch b/main/iputils/net-misc_iputils_files_iputils-20121221-fix-init-elemnt.patch deleted file mode 100644 index 554ce9bd9b..0000000000 --- a/main/iputils/net-misc_iputils_files_iputils-20121221-fix-init-elemnt.patch +++ /dev/null @@ -1,23 +0,0 @@ -diff -Naur iputils-s20121221.orig/ping.c iputils-s20121221/ping.c ---- iputils-s20121221.orig/ping.c 2014-01-24 15:05:02.082841335 +0000 -+++ iputils-s20121221/ping.c 2014-01-24 15:17:12.975882203 +0000 -@@ -774,9 +774,16 @@ - - do { - static struct iovec iov = {outpack, 0}; -- static struct msghdr m = { &whereto, sizeof(whereto), -- &iov, 1, &cmsg, 0, 0 }; -- m.msg_controllen = cmsg_len; -+ static struct msghdr m; -+ -+ m.msg_name = &whereto; -+ m.msg_namelen = sizeof(whereto); -+ m.msg_iov = &iov; -+ m.msg_iovlen = 1; -+ m.msg_control = &cmsg; -+ m.msg_controllen = sizeof(cmsg); -+ m.msg_flags = 0; -+ - iov.iov_len = cc; - - i = sendmsg(icmp_sock, &m, confirm); |