Skip to content
Snippets Groups Projects
Commit 963b2c7c authored by Ondřej Zajíček's avatar Ondřej Zajíček
Browse files

BGP: Use proper class in attribute error messages

Most error messages in attribute processing are in rx/decode step and
these use L_REMOTE log class. But there are few that are in tx/export
step and these should use L_ERR log class.

Use tx-specific macro (REJECT()) in tx/export code and rename field
err_withdraw to err_reject in struct bgp_export_state to ensure that
appropriate error reporting macros are called in proper contexts.
parent 75d01ecc
No related branches found
No related tags found
No related merge requests found
Pipeline #94199 failed
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment