From: Nick Porter Date: Thu, 24 Oct 2024 18:22:55 +0000 (+0100) Subject: Remove un-used auto loaded dict attrs X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a7cd8d7e72aea4937396044efc170563a47caa88;p=thirdparty%2Ffreeradius-server.git Remove un-used auto loaded dict attrs --- diff --git a/src/process/radius/base.c b/src/process/radius/base.c index 462633feb68..8755c7c117e 100644 --- a/src/process/radius/base.c +++ b/src/process/radius/base.c @@ -58,19 +58,14 @@ static fr_dict_attr_t const *attr_module_success_message; static fr_dict_attr_t const *attr_stripped_user_name; static fr_dict_attr_t const *attr_acct_status_type; -static fr_dict_attr_t const *attr_calling_station_id; -static fr_dict_attr_t const *attr_chap_password; -static fr_dict_attr_t const *attr_nas_port; static fr_dict_attr_t const *attr_packet_type; static fr_dict_attr_t const *attr_proxy_state; -static fr_dict_attr_t const *attr_service_type; static fr_dict_attr_t const *attr_state; static fr_dict_attr_t const *attr_user_name; static fr_dict_attr_t const *attr_user_password; static fr_dict_attr_t const *attr_original_packet_code; static fr_dict_attr_t const *attr_error_cause; static fr_dict_attr_t const *attr_event_timestamp; -static fr_dict_attr_t const *attr_acct_delay_time; extern fr_dict_attr_autoload_t process_radius_dict_attr[]; fr_dict_attr_autoload_t process_radius_dict_attr[] = { @@ -80,12 +75,8 @@ fr_dict_attr_autoload_t process_radius_dict_attr[] = { { .out = &attr_stripped_user_name, .name = "Stripped-User-Name", .type = FR_TYPE_STRING, .dict = &dict_freeradius }, { .out = &attr_acct_status_type, .name = "Acct-Status-Type", .type = FR_TYPE_UINT32, .dict = &dict_radius }, - { .out = &attr_calling_station_id, .name = "Calling-Station-Id", .type = FR_TYPE_STRING, .dict = &dict_radius }, - { .out = &attr_chap_password, .name = "CHAP-Password", .type = FR_TYPE_OCTETS, .dict = &dict_radius }, - { .out = &attr_nas_port, .name = "NAS-Port", .type = FR_TYPE_UINT32, .dict = &dict_radius }, { .out = &attr_proxy_state, .name = "Proxy-State", .type = FR_TYPE_OCTETS, .dict = &dict_radius }, { .out = &attr_packet_type, .name = "Packet-Type", .type = FR_TYPE_UINT32, .dict = &dict_radius }, - { .out = &attr_service_type, .name = "Service-Type", .type = FR_TYPE_UINT32, .dict = &dict_radius }, { .out = &attr_state, .name = "State", .type = FR_TYPE_OCTETS, .dict = &dict_radius }, { .out = &attr_user_name, .name = "User-Name", .type = FR_TYPE_STRING, .dict = &dict_radius }, { .out = &attr_user_password, .name = "User-Password", .type = FR_TYPE_STRING, .dict = &dict_radius }, @@ -94,7 +85,6 @@ fr_dict_attr_autoload_t process_radius_dict_attr[] = { { .out = &attr_error_cause, .name = "Error-Cause", .type = FR_TYPE_UINT32, .dict = &dict_radius }, { .out = &attr_event_timestamp, .name = "Event-Timestamp", .type = FR_TYPE_DATE, .dict = &dict_radius }, - { .out = &attr_acct_delay_time, .name = "Acct-Delay-Time", .type = FR_TYPE_UINT32, .dict = &dict_radius }, { NULL } };