summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKenneth R Westerback <krw@cvs.openbsd.org>2019-03-19 00:50:12 +0000
committerKenneth R Westerback <krw@cvs.openbsd.org>2019-03-19 00:50:12 +0000
commite69491f952dc7794ee3a52e768fa6028c5be8e0b (patch)
treecf9068c054d7fc179ba8cde82c17c4962863a89b
parentdf69395fe2189221610b49546f5d2136154f7030 (diff)
Nuke a couple of XXX comments.
-rw-r--r--sbin/dhclient/dhclient.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/sbin/dhclient/dhclient.c b/sbin/dhclient/dhclient.c
index 1a4b1223010..6e78491cbe7 100644
--- a/sbin/dhclient/dhclient.c
+++ b/sbin/dhclient/dhclient.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: dhclient.c,v 1.627 2019/03/18 22:26:56 krw Exp $ */
+/* $OpenBSD: dhclient.c,v 1.628 2019/03/19 00:50:11 krw Exp $ */
/*
* Copyright 2004 Henning Brauer <henning@openbsd.org>
@@ -1890,7 +1890,6 @@ lease_as_proposal(struct client_lease *lease)
if (lease->options[DHO_CLASSLESS_STATIC_ROUTES].len != 0) {
opt = &lease->options[DHO_CLASSLESS_STATIC_ROUTES];
- /* XXX */
if (opt->len < sizeof(proposal->rtstatic)) {
proposal->rtstatic_len = opt->len;
memcpy(&proposal->rtstatic, opt->data, opt->len);
@@ -1900,7 +1899,6 @@ lease_as_proposal(struct client_lease *lease)
log_procname);
} else if (lease->options[DHO_CLASSLESS_MS_STATIC_ROUTES].len != 0) {
opt = &lease->options[DHO_CLASSLESS_MS_STATIC_ROUTES];
- /* XXX */
if (opt->len < sizeof(proposal->rtstatic)) {
proposal->rtstatic_len = opt->len;
memcpy(&proposal->rtstatic[1], opt->data, opt->len);