summaryrefslogtreecommitdiff
path: root/src/dhcp/tests/test-dhcp-utils.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2020-09-28 14:50:01 +0200
committerAntonio Cardace <acardace@redhat.com>2020-09-28 16:07:52 +0200
commit740b092fda3d5f45102422f22884c88ea6c42858 (patch)
tree5a049cc10c99efb5ee39606b8b1d0893a9f46db3 /src/dhcp/tests/test-dhcp-utils.c
parent328fb90f3e0d4e35975aff63944ac0412d7893a5 (diff)
downloadNetworkManager-ac/clang-format.tar.gz
format: replace tabs for indentation in code commentsac/clang-format
sed -i \ -e 's/^'$'\t'' \*/ */g' \ -e 's/^'$'\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t'' \*/ */g' \ -e 's/^'$'\t\t\t\t\t\t\t'' \*/ */g' \ $(git ls-files -- '*.[hc]')
Diffstat (limited to 'src/dhcp/tests/test-dhcp-utils.c')
-rw-r--r--src/dhcp/tests/test-dhcp-utils.c18
1 files changed, 9 insertions, 9 deletions
diff --git a/src/dhcp/tests/test-dhcp-utils.c b/src/dhcp/tests/test-dhcp-utils.c
index 738c6bb82d..8626b66fad 100644
--- a/src/dhcp/tests/test-dhcp-utils.c
+++ b/src/dhcp/tests/test-dhcp-utils.c
@@ -414,8 +414,8 @@ test_dhcpcd_invalid_classless_routes_1(void)
g_test_assert_expected_messages();
/* Test falling back to old-style static routes if the classless static
- * routes are invalid.
- */
+ * routes are invalid.
+ */
g_assert_cmpint(nm_ip4_config_get_num_routes(ip4_config), ==, 3);
ip4_test_route(ip4_config, 0, expected_route1_dest, expected_route1_gw, 32);
ip4_test_route(ip4_config, 1, expected_route2_dest, expected_route2_gw, 32);
@@ -445,8 +445,8 @@ test_dhclient_invalid_classless_routes_2(void)
g_test_assert_expected_messages();
/* Test falling back to old-style static routes if the classless static
- * routes are invalid.
- */
+ * routes are invalid.
+ */
g_assert_cmpint(nm_ip4_config_get_num_routes(ip4_config), ==, 3);
ip4_test_route(ip4_config, 0, expected_route1_dest, expected_route1_gw, 32);
ip4_test_route(ip4_config, 1, expected_route2_dest, expected_route2_gw, 32);
@@ -476,8 +476,8 @@ test_dhcpcd_invalid_classless_routes_2(void)
g_test_assert_expected_messages();
/* Test falling back to old-style static routes if the classless static
- * routes are invalid.
- */
+ * routes are invalid.
+ */
/* Routes */
g_assert_cmpint(nm_ip4_config_get_num_routes(ip4_config), ==, 3);
@@ -684,9 +684,9 @@ test_ip4_prefix_classless(void)
const NMPlatformIP4Address * address;
/* Ensure that the missing-subnet-mask handler doesn't mangle classless
- * subnet masks at all. The handler should trigger only if the server
- * doesn't send the subnet mask.
- */
+ * subnet masks at all. The handler should trigger only if the server
+ * doesn't send the subnet mask.
+ */
options = fill_table(generic_options, NULL);
g_hash_table_insert(options, "ip_address", "172.16.54.22");