diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-16 09:12:03 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 01c4f23c0edccfa716228c972ca615eacd602387 (patch) | |
| tree | a261ed74f7f068e892784b99ff5f0ec3dbdbd651 /bgpd/bgp_errors.c | |
| parent | 286425133ed819d34aac43a99bd0d181dbd28a82 (diff) | |
bgpd: Modify bgp_label to use flog_warn
Signed-off-by: Donald Sharp <sharpd@cumulusnetworks.com>
Diffstat (limited to 'bgpd/bgp_errors.c')
| -rw-r--r-- | bgpd/bgp_errors.c | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index afe669ed1e..7d04c63104 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -146,6 +146,12 @@ static struct log_ref ferr_bgp_warn[] = { .suggestion = "Gather logging and open an Issue", }, { + .code = BGP_WARN_INVALID_LABEL_STACK, + .title = "BGP has received a label stack in a NLRI that does not have the BOS marked", + .description = "BGP when it receives a NLRI with a label stack should have the BOS marked, this received packet does not have this", + .suggestion = "Gather log information from here and remote peer and open an Issue", + }, + { .code = END_FERR, } }; |
