summaryrefslogtreecommitdiffstats
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-15 21:19:21 +0200
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 22:50:58 +0200
commit7077f45c690b22c36003bea785a209be682648ad (patch)
treebe996f52c08c3f2e93a768dc1df4178b8d13301a /bgpd/bgp_errors.c
parentbgpd: Convert zlog_warn to flog_warn for bgp_aspath.c and bgp_attr.c (diff)
downloadfrr-7077f45c690b22c36003bea785a209be682648ad.tar.xz
frr-7077f45c690b22c36003bea785a209be682648ad.zip
bgpd: Convert bgp_dump.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.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/bgpd/bgp_errors.c b/bgpd/bgp_errors.c
index 5b0c4b0da..51048b2af 100644
--- a/bgpd/bgp_errors.c
+++ b/bgpd/bgp_errors.c
@@ -92,6 +92,12 @@ static struct log_ref ferr_bgp_warn[] = {
.suggestion = "Gather log data from this and remote peer and open an Issue with this data",
},
{
+ .code = BGP_WARN_DUMP,
+ .title = "BGP MRT dump subsystem has encountered an issue",
+ .description = "BGP has found that the attempted write of MRT data to a dump file has failed",
+ .suggestion = "Ensure BGP has permissions to write the specified file",
+ },
+ {
.code = END_FERR,
}
};