summaryrefslogtreecommitdiff
path: root/src/libsystemd-network/test-dhcp-client.c
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2017-10-11 14:45:48 +0200
committerZbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl>2017-10-11 14:45:48 +0200
commitda172fa9ea1906d9c4c5d5e4ca1c03892f769f02 (patch)
treefde03f90eec9b1ba361efdd388048fa09195220d /src/libsystemd-network/test-dhcp-client.c
parent0da812036f6fd60a7b5477fafb2eead9e98f4c78 (diff)
downloadsystemd-da172fa9ea1906d9c4c5d5e4ca1c03892f769f02.tar.gz
test-dhcp-client: fix typos in comment (#7052)
Diffstat (limited to 'src/libsystemd-network/test-dhcp-client.c')
-rw-r--r--src/libsystemd-network/test-dhcp-client.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libsystemd-network/test-dhcp-client.c b/src/libsystemd-network/test-dhcp-client.c
index 1942199294..e4ef479a54 100644
--- a/src/libsystemd-network/test-dhcp-client.c
+++ b/src/libsystemd-network/test-dhcp-client.c
@@ -102,8 +102,8 @@ static void test_request_basic(sd_event *e) {
/* RFC7844: option 33 (SD_DHCP_OPTION_STATIC_ROUTE) is set in the
* default PRL when using Anonymize, so it is changed to other option
- * that is not set by default, to check that it succed setting it.
- * Ooptions not set by default (using or not anonymize) are option 17
+ * that is not set by default, to check that it was set successfully.
+ * Options not set by default (using or not anonymize) are option 17
* (SD_DHCP_OPTION_ROOT_PATH) and 42 (SD_DHCP_OPTION_NTP_SERVER) */
assert_se(sd_dhcp_client_set_request_option(client, 17) == 0);
assert_se(sd_dhcp_client_set_request_option(client, 17) == -EEXIST);