changeset 868:b7f530aa7456

Remove deprecated code, use EXTENSION_ENTRY instead -- submitted by Thomas Klausner <tk@giga.or.at>
author Sebastien Decugis <sdecugis@freediameter.net>
date Tue, 30 Oct 2012 21:06:47 +0100
parents 03d5a7892f2a
children 67fb1f8e093e
files extensions/dict_eap/dict_eap.c
diffstat 1 files changed, 0 insertions(+), 11 deletions(-) [+]
line wrap: on
line diff
--- a/extensions/dict_eap/dict_eap.c	Tue Oct 30 20:53:22 2012 +0100
+++ b/extensions/dict_eap/dict_eap.c	Tue Oct 30 21:06:47 2012 +0100
@@ -95,17 +95,6 @@
 	struct dict_object * eap;
 	TRACE_ENTRY("%p", conffile);
 	
-	/* Since we need many AVP from the NASREQ application, check that it is already defined in the dictionary */
-	{
-		application_id_t nasreqid = 1;
-		CHECK_FCT_DO( fd_dict_search( fd_g_config->cnf_dict, DICT_APPLICATION, APPLICATION_BY_ID, &nasreqid, NULL, ENOENT),
-		   {
-			fprintf(stderr, "The dict_eap extension needs definitions from NASREQ application (RFC4005).\n"
-				  "Please load the 'dict_nasreq' extension prior to this one.\n");
-			return ENOTSUP;
-		   }  );
-	}
-	
 	/* Applications section */
 	{
 		/* EAP (RFC 4072) */
"Welcome to our mercurial repository"