summaryrefslogtreecommitdiff
path: root/bgpd/bgp_errors.c
diff options
context:
space:
mode:
authorDonald Sharp <sharpd@cumulusnetworks.com>2018-08-15 15:19:21 -0400
committerQuentin Young <qlyoung@cumulusnetworks.com>2018-09-06 20:50:58 +0000
commit7077f45c690b22c36003bea785a209be682648ad (patch)
treebe996f52c08c3f2e93a768dc1df4178b8d13301a /bgpd/bgp_errors.c
parent559aaa3066f2c2aa93298f3dcecdee904ffa645d (diff)
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 5b0c4b0da5..51048b2af9 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,
}
};