Print the offending SPANS message only if printing is enabled.
This commit is contained in:
parent
434252892a
commit
a327640a9e
@ -686,7 +686,8 @@ spanscls_cpcs_data(tok, m)
|
||||
if (bcmp((char *)&chp->ch_proto, (char *)spanscls_bridged,
|
||||
sizeof(spanscls_bridged))) {
|
||||
log(LOG_ERR, "spanscls_input: bad format\n");
|
||||
spanscls_pdu_print(clp, m, "input error");
|
||||
if (spanscls_print)
|
||||
spanscls_pdu_print(clp, m, "input error");
|
||||
}
|
||||
|
||||
KB_FREEALL(m);
|
||||
|
Loading…
x
Reference in New Issue
Block a user