Merge pull request #3864 from qlyoung/fix-ospf-mtu-warning-style

ospfd: fix link MTU warning style
This commit is contained in:
Olivier Dugeon 2019-02-26 09:48:31 +01:00 committed by GitHub
commit 4923d6ed98
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
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;
}