1
0
mirror of https://github.com/systemd/systemd.git synced 2024-12-27 07:22:31 +03:00

networkd: fix spell DCHPClientIdentifier (DCHP => DHCP)

This commit is contained in:
Susant Sahani 2017-08-15 10:20:25 +05:30
parent 43ee6a8128
commit 499d555a79
2 changed files with 5 additions and 5 deletions

View File

@ -787,8 +787,8 @@ static const char* const dhcp_client_identifier_table[_DHCP_CLIENT_ID_MAX] = {
[DHCP_CLIENT_ID_DUID] = "duid" [DHCP_CLIENT_ID_DUID] = "duid"
}; };
DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING(dhcp_client_identifier, DCHPClientIdentifier); DEFINE_PRIVATE_STRING_TABLE_LOOKUP_FROM_STRING(dhcp_client_identifier, DHCPClientIdentifier);
DEFINE_CONFIG_PARSE_ENUM(config_parse_dhcp_client_identifier, dhcp_client_identifier, DCHPClientIdentifier, "Failed to parse client identifier type"); DEFINE_CONFIG_PARSE_ENUM(config_parse_dhcp_client_identifier, dhcp_client_identifier, DHCPClientIdentifier, "Failed to parse client identifier type");
int config_parse_ipv6token( int config_parse_ipv6token(
const char* unit, const char* unit,

View File

@ -43,12 +43,12 @@
#define BRIDGE_VLAN_BITMAP_MAX 4096 #define BRIDGE_VLAN_BITMAP_MAX 4096
#define BRIDGE_VLAN_BITMAP_LEN (BRIDGE_VLAN_BITMAP_MAX / 32) #define BRIDGE_VLAN_BITMAP_LEN (BRIDGE_VLAN_BITMAP_MAX / 32)
typedef enum DCHPClientIdentifier { typedef enum DHCPClientIdentifier {
DHCP_CLIENT_ID_MAC, DHCP_CLIENT_ID_MAC,
DHCP_CLIENT_ID_DUID, DHCP_CLIENT_ID_DUID,
_DHCP_CLIENT_ID_MAX, _DHCP_CLIENT_ID_MAX,
_DHCP_CLIENT_ID_INVALID = -1, _DHCP_CLIENT_ID_INVALID = -1,
} DCHPClientIdentifier; } DHCPClientIdentifier;
typedef enum IPv6PrivacyExtensions { typedef enum IPv6PrivacyExtensions {
/* The values map to the kernel's /proc/sys/net/ipv6/conf/xxx/use_tempaddr values */ /* The values map to the kernel's /proc/sys/net/ipv6/conf/xxx/use_tempaddr values */
@ -122,7 +122,7 @@ struct Network {
/* DHCP Client Support */ /* DHCP Client Support */
AddressFamilyBoolean dhcp; AddressFamilyBoolean dhcp;
DCHPClientIdentifier dhcp_client_identifier; DHCPClientIdentifier dhcp_client_identifier;
char *dhcp_vendor_class_identifier; char *dhcp_vendor_class_identifier;
char *dhcp_hostname; char *dhcp_hostname;
unsigned dhcp_route_metric; unsigned dhcp_route_metric;