summaryrefslogtreecommitdiff
path: root/sbin/dhclient/parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'sbin/dhclient/parse.c')
-rw-r--r--sbin/dhclient/parse.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/sbin/dhclient/parse.c b/sbin/dhclient/parse.c
index 6604e5c8c0d..d1f5bb2140d 100644
--- a/sbin/dhclient/parse.c
+++ b/sbin/dhclient/parse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: parse.c,v 1.51 2017/06/10 17:56:29 krw Exp $ */
+/* $OpenBSD: parse.c,v 1.52 2017/06/19 19:28:35 krw Exp $ */
/* Common parser code for dhcpd and dhclient. */
@@ -253,7 +253,7 @@ parse_ethernet(FILE *cfile, struct ether_addr *hardware)
if (len == 6) {
if (parse_semi(cfile))
- memcpy(hardware, &buf, sizeof(*hardware));
+ memcpy(hardware, &buf, sizeof(*hardware));
} else if (token != ':') {
parse_warn("expecting ':'.");
skip_to_semi(cfile);