ast_log(LOG_WARNING,"Rejecting packet from '%s.%d' that is flagged as a video frame but is too short\n",ast_inet_ntoa(iabuf,sizeof(iabuf),sin.sin_addr),ntohs(sin.sin_port));
ast_log(LOG_WARNING,"Rejecting packet from '%s.%d' that is flagged as a meta frame but is too short\n",ast_inet_ntoa(iabuf,sizeof(iabuf),sin.sin_addr),ntohs(sin.sin_port));
return1;
}
/* This is a meta header */
switch(meta->metacmd){
caseIAX_META_TRUNK:
@ -6454,20 +6465,16 @@ static int socket_read(int *id, int fd, short events, void *cbdata)
return1;
}
/* if we got here and ->zeros contains zeros, this cannot be a valid
ast_log(LOG_WARNING,"Rejecting packet from '%s.%d' that is flagged as a video or meta frame but is not properly formatted\n",ast_inet_ntoa(iabuf,sizeof(iabuf),sin.sin_addr),ntohs(sin.sin_port));
ast_log(LOG_WARNING,"Rejecting packet from '%s.%d' that is flagged as a full frame but is too short\n",ast_inet_ntoa(iabuf,sizeof(iabuf),sin.sin_addr),ntohs(sin.sin_port));