summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Dugeon <olivier.dugeon@orange.com>2019-02-26 09:48:31 +0100
committerGitHub <noreply@github.com>2019-02-26 09:48:31 +0100
commit4923d6ed9822deae74aa71775337a8f1b51da3ec (patch)
treefef94a6c240fdd6bf324579142725d9a442a4124
parent51127bc88c285e63b4cdff50b6e3f95f06f6893e (diff)
parentc531be7c9475b3d6b6c35d2ee33ad5f8465bc960 (diff)
Merge pull request #3864 from qlyoung/fix-ospf-mtu-warning-style
ospfd: fix link MTU warning style
-rw-r--r--ospfd/ospf_errors.c7
-rw-r--r--ospfd/ospf_packet.c3
2 files changed, 3 insertions, 7 deletions
diff --git a/ospfd/ospf_errors.c b/ospfd/ospf_errors.c
index b912a80692..dd02160195 100644
--- a/ospfd/ospf_errors.c
+++ b/ospfd/ospf_errors.c
@@ -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,
diff --git a/ospfd/ospf_packet.c b/ospfd/ospf_packet.c
index ecc55c2ee5..b3c91b9006 100644
--- a/ospfd/ospf_packet.c
+++ b/ospfd/ospf_packet.c
@@ -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;
}