ospfd: fix link MTU warning style

Kernel style dictates that we do not break log messages across lines

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
This commit is contained in:
Quentin Young 2019-02-25 16:57:13 +00:00
parent 5a80b8c7c2
commit c531be7c94
2 changed files with 3 additions and 7 deletions

View File

@ -172,11 +172,8 @@ static struct log_ref ferr_ospf_err[] = {
{
.code = EC_OSPF_LARGE_HELLO,
.title = "OSPF Encountered a Large Hello",
.description = "OSPF attempted to send a Hello larger than MTU "
"but did not",
.suggestion = "Too many neighbors configured on a single interface."
" Suggestion is to decrease the number of neighbors on"
" a single interface/subnet"
.description = "OSPF attempted to send a Hello larger than MTU but did not",
.suggestion = "Too many neighbors configured on a single interface. Suggestion is to decrease the number of neighbors on a single interface/subnet"
},
{
.code = END_FERR,

View File

@ -3326,8 +3326,7 @@ static int ospf_make_hello(struct ospf_interface *oi, struct stream *s)
> ospf_packet_max(oi)) {
flog_err(
EC_OSPF_LARGE_HELLO,
"Oversized Hello packet!"
" Larger than MTU. Not sending it out");
"Oversized Hello packet! Larger than MTU. Not sending it out");
return 0;
}