mandatory checking is already done

FossilOrigin-Name: 51c716f7ebbdfa9526f74f0216dcb0cd1568c24b70b8445c1ae506b041a0bbd9
This commit is contained in:
7u83@mail.ru 2016-03-28 00:03:30 +00:00
parent 359b0045cb
commit b51ae47f4d
1 changed files with 3 additions and 3 deletions

View File

@ -11,13 +11,13 @@ int cw_in_check_disc_resp(struct conn *conn, struct cw_action_in *a, uint8_t * d
int len,struct sockaddr *from)
{
cw_action_in_t *mlist[20];
int n = cw_check_missing_mand(mlist, conn, a);
// int n = cw_check_missing_mand(mlist, conn, a);
//cw_dbg(DBG_INFO,"This response came from: %s",sock_addr2str(&conn->addr));
/* if mandatory elements are missing, ignore this response */
if (n && conn->strict_capwap) {
/* if (n && conn->strict_capwap) {
cw_dbg_missing_mand(DBG_MSG_ERR, conn, mlist, n, a);
cw_dbg(DBG_MSG_ERR,
"Ignoring Discovery Response from %s - missing mandatory elements.",
@ -28,7 +28,7 @@ int cw_in_check_disc_resp(struct conn *conn, struct cw_action_in *a, uint8_t * d
if (n) {
cw_dbg_missing_mand(DBG_RFC, conn, mlist, n, a);
}
*/
/* we have all AC information in the incomming buffer */
mbag_t discs;