Fix debug log

This commit is contained in:
vemax78 2014-02-16 15:41:59 +01:00
parent 4c1a532221
commit fd0805ff5c
2 changed files with 4 additions and 4 deletions

View File

@ -558,7 +558,7 @@ static void ac_session_run(struct ac_session_t* session) {
/* */ /* */
ac_dfa_execute(session, &packet); ac_dfa_execute(session, &packet);
} else { } else {
capwap_logging_debug("Failed validation parsed packet"); capwap_logging_debug("Failed validation parsed control packet");
if (capwap_is_request_type(session->rxmngpacket->ctrlmsg.type)) { if (capwap_is_request_type(session->rxmngpacket->ctrlmsg.type)) {
capwap_logging_warning("Missing Mandatory Message Element, send Response Packet with error"); capwap_logging_warning("Missing Mandatory Message Element, send Response Packet with error");
ac_send_invalid_request(session, CAPWAP_RESULTCODE_FAILURE_MISSING_MANDATORY_MSG_ELEMENT); ac_send_invalid_request(session, CAPWAP_RESULTCODE_FAILURE_MISSING_MANDATORY_MSG_ELEMENT);
@ -580,7 +580,7 @@ static void ac_session_run(struct ac_session_t* session) {
} }
} }
} else { } else {
capwap_logging_debug("Retrasmitted packet"); capwap_logging_debug("Retrasmitted control packet");
} }
/* Free memory */ /* Free memory */

View File

@ -360,10 +360,10 @@ static void ac_session_data_run(struct ac_session_data_t* sessiondata) {
/* TODO */ /* TODO */
} }
} else { } else {
capwap_logging_debug("Failed validation parsed packet"); capwap_logging_debug("Failed validation parsed data packet");
} }
} else { } else {
capwap_logging_debug("Failed parsing packet"); capwap_logging_debug("Failed parsing data packet");
} }
} }