mirror of
				https://github.com/asterisk/asterisk.git
				synced 2025-10-31 02:37:10 +00:00 
			
		
		
		
	chan_iax2: Minor improvements to documentation and warning messages.
* Update Dial() documentation for IAX2 to include syntax for RSA public key names. * Add additional details to a couple warnings to provide more context when an undecodable frame is received. Resolves: #1206
This commit is contained in:
		| @@ -812,7 +812,8 @@ int iax_parse_ies(struct iax_ies *ies, unsigned char *data, int datalen) | ||||
| 		ie = data[0]; | ||||
| 		len = data[1]; | ||||
| 		if (len > datalen - 2) { | ||||
| 			errorf("Information element length exceeds message size\n"); | ||||
| 			snprintf(tmp, sizeof(tmp), "Information element length %d exceeds message size %d\n", len, datalen - 2); | ||||
| 			errorf(tmp); | ||||
| 			return -1; | ||||
| 		} | ||||
| 		switch(ie) { | ||||
|   | ||||
		Reference in New Issue
	
	Block a user