Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/bsd/dhcpcd/dist Fix typo in previous
details: https://anonhg.NetBSD.org/src/rev/e845b18f16bb
branches: trunk
changeset: 791362:e845b18f16bb
user: martin <martin%NetBSD.org@localhost>
date: Thu Nov 14 09:11:39 2013 +0000
description:
Fix typo in previous
diffstat:
external/bsd/dhcpcd/dist/if-options.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (19 lines):
diff -r d71f4bd95741 -r e845b18f16bb external/bsd/dhcpcd/dist/if-options.c
--- a/external/bsd/dhcpcd/dist/if-options.c Thu Nov 14 08:26:54 2013 +0000
+++ b/external/bsd/dhcpcd/dist/if-options.c Thu Nov 14 09:11:39 2013 +0000
@@ -1,5 +1,5 @@
#include <sys/cdefs.h>
- __RCSID("$NetBSD: if-options.c,v 1.2 2013/11/14 04:24:33 christos Exp $");
+ __RCSID("$NetBSD: if-options.c,v 1.3 2013/11/14 09:11:39 martin Exp $");
/*
* dhcpcd - DHCP client daemon
@@ -1169,7 +1169,7 @@
ifo->ia_type = D6_OPTION_IA_NA;
ifo->iaid_len = strlen(ifname);
if (ifo->iaid_len < sizeof(ifo->iaid->iaid)) {
- memcpy(ifo->iaid->iaid, ifname, len);
+ memcpy(ifo->iaid->iaid, ifname, ifo->iaid_len);
memset(ifo->iaid->iaid + ifo->iaid_len, 0,
sizeof(ifo->iaid->iaid) -ifo->iaid_len);
} else {
Home |
Main Index |
Thread Index |
Old Index