forked from Mirror/frr
Merge pull request #3864 from qlyoung/fix-ospf-mtu-warning-style
ospfd: fix link MTU warning style
This commit is contained in:
commit
4923d6ed98
|
@ -172,11 +172,8 @@ static struct log_ref ferr_ospf_err[] = {
|
||||||
{
|
{
|
||||||
.code = EC_OSPF_LARGE_HELLO,
|
.code = EC_OSPF_LARGE_HELLO,
|
||||||
.title = "OSPF Encountered a Large Hello",
|
.title = "OSPF Encountered a Large Hello",
|
||||||
.description = "OSPF attempted to send a Hello larger than MTU "
|
.description = "OSPF attempted to send a Hello larger than MTU but did not",
|
||||||
"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"
|
||||||
.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,
|
.code = END_FERR,
|
||||||
|
|
|
@ -3326,8 +3326,7 @@ static int ospf_make_hello(struct ospf_interface *oi, struct stream *s)
|
||||||
> ospf_packet_max(oi)) {
|
> ospf_packet_max(oi)) {
|
||||||
flog_err(
|
flog_err(
|
||||||
EC_OSPF_LARGE_HELLO,
|
EC_OSPF_LARGE_HELLO,
|
||||||
"Oversized Hello packet!"
|
"Oversized Hello packet! Larger than MTU. Not sending it out");
|
||||||
" Larger than MTU. Not sending it out");
|
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue