diff options
| author | Donald Sharp <sharpd@cumulusnetworks.com> | 2018-08-16 09:29:23 -0400 |
|---|---|---|
| committer | Quentin Young <qlyoung@cumulusnetworks.com> | 2018-09-06 20:50:58 +0000 |
| commit | 065eaa36290decd582bd299855bbc86a890b07c2 (patch) | |
| tree | 00290377dc2e7f04f7e8953e3378a6b27785bd34 /bgpd/bgp_errors.c | |
| parent | f162a5b977a9edce3c04d6f85f117fb284115e06 (diff) | |
bgpd: Convert bgp_open.c 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 | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c index 70cdf53bd4..6a0b0a9ee9 100644 --- a/bgpd/bgp_errors.c +++ b/bgpd/bgp_errors.c @@ -158,6 +158,30 @@ static struct log_ref ferr_bgp_warn[] = { .suggestion = "Gather log data, open an Issue and restart FRR" }, { + .code = BGP_WARN_CAPABILITY_INVALID_LENGTH, + .title = "BGP has received a capability with an invalid length", + .description = "BGP has received a capability from it's peer who's size is wrong", + .suggestion = "Gather log files from here and from peer and open an Issue", + }, + { + .code = BGP_WARN_CAPABILITY_INVALID_DATA, + .title = "BGP has received capability data with invalid information", + .description = "BGP has noticed that during processing of capability information that data was wrong", + .suggestion = "Gather log files from here and from peer and open an Issue", + }, + { + .code = BGP_WARN_CAPABILITY_VENDOR, + .title = "BGP has recieved capability data specific to a particular vendor", + .description = "BGP has received a capability that is vendor specific and as such we have no knowledge of how to use this capability in FRR", + .suggestion = "On peer turn off this feature" + }, + { + .code = BGP_WARN_CAPABILITY_UNKNOWN, + .title = "BGP has received capability data for a unknown capability", + .description = "BGP has received a capability that it does not know how to decode. This may be due to a new feature that has not been coded into FRR or it may be a bug in the remote peer", + .suggestion = "Gather log files from here and from peer and open an Issue", + }, + { .code = END_FERR, } }; |
