]> git.proxmox.com Git - mirror_frr.git/commitdiff
ospfd: fix link MTU warning style
authorQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 16:57:13 +0000 (16:57 +0000)
committerQuentin Young <qlyoung@cumulusnetworks.com>
Mon, 25 Feb 2019 16:59:31 +0000 (16:59 +0000)
Kernel style dictates that we do not break log messages across lines

Signed-off-by: Quentin Young <qlyoung@cumulusnetworks.com>
ospfd/ospf_errors.c
ospfd/ospf_packet.c

index b912a80692e08ab86ebed53cfcfcdf4f4e9adc31..dd0216019588fe25fe483810e3cc0168f65a6496 100644 (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,
index ecc55c2ee5ec0ee0611daf5381c4947f6cdb2b7f..b3c91b9006e98c210421329e02341355196cbd36 100644 (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;
                                                        }