Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-9]: src/external/bsd/dhcpcd/dist/src Apply patch, requested by ro...
details: https://anonhg.NetBSD.org/src/rev/2be3b236b748
branches: netbsd-9
changeset: 947570:2be3b236b748
user: martin <martin%NetBSD.org@localhost>
date: Fri Dec 18 12:27:28 2020 +0000
description:
Apply patch, requested by roy in ticket #1154:
external/bsd/dhcpcd/dist/src/dhcp.c (apply patch)
Fix reading of UDP messages via inet socket rather than BPF.
This fixes RENEW messages not being read correctly.
diffstat:
external/bsd/dhcpcd/dist/src/dhcp.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r d6f36f037891 -r 2be3b236b748 external/bsd/dhcpcd/dist/src/dhcp.c
--- a/external/bsd/dhcpcd/dist/src/dhcp.c Fri Dec 18 12:23:16 2020 +0000
+++ b/external/bsd/dhcpcd/dist/src/dhcp.c Fri Dec 18 12:27:28 2020 +0000
@@ -3521,7 +3521,7 @@
struct msghdr msg = {
.msg_name = &from, .msg_namelen = sizeof(from),
.msg_iov = &iov, .msg_iovlen = 1,
- .msg_control = buf, .msg_controllen = sizeof(cmsgbuf.buf),
+ .msg_control = cmsgbuf.buf, .msg_controllen = sizeof(cmsgbuf.buf),
};
int s;
ssize_t bytes;
Home |
Main Index |
Thread Index |
Old Index