Forráskód Böngészése

acc_diameter: typos

Дилян Палаузов 2 éve
szülő
commit
8fbd788c5a

+ 2 - 2
src/modules/acc_diameter/acc_diameter_mod.c

@@ -76,7 +76,7 @@ acc_engine_t _acc_diameter_engine;
 
 /* ----- DIAMETER acc variables ----------- */
 
-/*! \name AccDiamaterVariables  Radius Variables */
+/*! \name AccDiameterVariables  Radius Variables */
 /*@{*/
 int diameter_flag = -1;
 int diameter_missed_flag = -1;
@@ -287,7 +287,7 @@ int acc_diam_init(acc_extra_t *leg_info)
 
 	m = extra2int( leg_info, diam_attrs+n);
 	if (m<0) {
-		LM_ERR("leg info names for DIAMTER must be integer AVP codes\n");
+		LM_ERR("leg info names for DIAMETER must be integer AVP codes\n");
 		return -1;
 	}
 	n += m;

+ 2 - 2
src/modules/acc_diameter/diam_avp.c

@@ -53,7 +53,7 @@ void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp)
 		case 296: /*AVP Origin_Realm*/
 		case 400: /* AVP_Resource */
 		case 401: /* AVP_Response */
-		case 402: /* AVP_Chalenge */
+		case 402: /* AVP_Challenge */
 		case 403: /* AVP_Method */
 		case 404: /* Service_Type AVP */
 		case 405: /* User_Group AVP*/
@@ -62,7 +62,7 @@ void set_avp_fields( AAA_AVPCode code, AAA_AVP *avp)
 			avp->type = AAA_AVP_STRING_TYPE;
 			break;
 		case  27: /*AVP_Session_Timeout*/
-		case 258: /*AVP_Auth_Aplication_Id*/
+		case 258: /*AVP_Auth_Application_Id*/
 		case 262: /*AVP_Redirect_Max_Cache_Time*/
 		case 265: /*AVP_Supported_Vendor_Id*/
 		case 266: /*AVP_Vendor_Id*/

+ 1 - 1
src/modules/acc_diameter/diam_message.c

@@ -230,7 +230,7 @@ AAAMessage* AAATranslateMessage( unsigned char* source, unsigned int sourceLen,
 	msg_len = get_3bytes( ptr );
 	ptr += MESSAGE_LENGTH_SIZE;
 	if (msg_len>sourceLen) {
-		LM_ERR("AAA message len [%d] bigger then buffer len [%d]\n",
+		LM_ERR("AAA message len [%d] bigger than buffer len [%d]\n",
 				msg_len,sourceLen);
 		goto error;
 	}

+ 1 - 1
src/modules/acc_diameter/diam_tcp.c

@@ -77,7 +77,7 @@ int init_mytcp(char* host, int port)
 	if (connect(sfd, (const struct sockaddr *)&serv_addr,
 				sizeof(serv_addr)) < 0)
 	{
-		LM_ERR("failed to connec to the DIAMETER client\n");
+		LM_ERR("failed to connect to the DIAMETER client\n");
 		close(sfd);
 		return -1;
 	}

+ 1 - 1
src/modules/acc_diameter/doc/acc_diameter_admin.xml

@@ -46,7 +46,7 @@
 		<section>
 			<title>&kamailio; Modules</title>
 			<para>
-			The module depends on the following modules (in the other words
+			The module depends on the following modules (in other words
 			the listed modules must be loaded before this module):
 			<itemizedlist>
 				<listitem>