From: Arran Cudbard-Bell Date: Fri, 1 Jun 2018 16:13:07 +0000 (+0600) Subject: Augment the correct dictionary X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=21630087f1dd479aee8ebec87bd143704c69488a;p=thirdparty%2Ffreeradius-server.git Augment the correct dictionary --- diff --git a/src/main/radclient.c b/src/main/radclient.c index ad9f6c01700..63d2ac0e7be 100644 --- a/src/main/radclient.c +++ b/src/main/radclient.c @@ -1183,7 +1183,6 @@ int main(int argc, char **argv) int parallel = 1; rc_request_t *this; int force_af = AF_UNSPEC; - fr_dict_t *dict = NULL; TALLOC_CTX *autofree = talloc_autofree_context(); /* @@ -1389,7 +1388,7 @@ int main(int argc, char **argv) return 1; } - if (fr_dict_read(dict, radius_dir, FR_DICTIONARY_FILE) == -1) { + if (fr_dict_read(dict_freeradius, radius_dir, FR_DICTIONARY_FILE) == -1) { fr_log_perror(&default_log, L_ERR, "Failed to initialize the dictionaries"); return 1; }