diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-01-26 14:28:17 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-02-09 14:35:25 +0900 |
commit | 89346ac6f6ca8b761cf47e72b57aa431d2bcdf6f (patch) | |
tree | 164c1df51d0665f6ffb5a44498862e96d2c40a89 /src/network/networkd-dhcp-common.c | |
parent | 55c6f705bada3ab2b0d81b1bdc74253436d57ebc (diff) | |
download | systemd-89346ac6f6ca8b761cf47e72b57aa431d2bcdf6f.tar.gz |
network: coding style fixes
Diffstat (limited to 'src/network/networkd-dhcp-common.c')
-rw-r--r-- | src/network/networkd-dhcp-common.c | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/network/networkd-dhcp-common.c b/src/network/networkd-dhcp-common.c index 5331cdcead..f825c8b185 100644 --- a/src/network/networkd-dhcp-common.c +++ b/src/network/networkd-dhcp-common.c @@ -337,7 +337,7 @@ int config_parse_dhcp_or_ra_route_metric( return 0; } - switch(ltype) { + switch (ltype) { case AF_INET: network->dhcp_route_metric = metric; network->dhcp_route_metric_set = true; @@ -388,7 +388,7 @@ int config_parse_dhcp_use_dns( return 0; } - switch(ltype) { + switch (ltype) { case AF_INET: network->dhcp_use_dns = r; network->dhcp_use_dns_set = true; @@ -439,7 +439,7 @@ int config_parse_dhcp_use_domains( return 0; } - switch(ltype) { + switch (ltype) { case AF_INET: network->dhcp_use_domains = d; network->dhcp_use_domains_set = true; @@ -490,7 +490,7 @@ int config_parse_dhcp_use_ntp( return 0; } - switch(ltype) { + switch (ltype) { case AF_INET: network->dhcp_use_ntp = r; network->dhcp_use_ntp_set = true; @@ -542,7 +542,7 @@ int config_parse_dhcp_or_ra_route_table( return 0; } - switch(ltype) { + switch (ltype) { case AF_INET: network->dhcp_route_table = rt; network->dhcp_route_table_set = true; @@ -777,7 +777,7 @@ int config_parse_dhcp_send_option( return 0; } - switch(type) { + switch (type) { case DHCP_OPTION_DATA_UINT8:{ r = safe_atou8(p, &uint8_data); if (r < 0) { |