mirror of
https://github.com/opnsense/src.git
synced 2026-05-28 04:12:45 -04:00
Print the offending SPANS message only if printing is enabled.
This commit is contained in:
parent
434252892a
commit
a327640a9e
1 changed files with 2 additions and 1 deletions
|
|
@ -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…
Reference in a new issue