]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_errors.c
Merge pull request #12798 from donaldsharp/rib_match_multicast
[mirror_frr.git] / ospfd / ospf_errors.c
index 566fc29202d13c121433d9970d5a5836230b3127..16aa3ab5267f9e378b1e5f527e01fce715910a66 100644 (file)
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * OSPF-specific error messages.
  * Copyright (C) 2018 Cumulus Networks, Inc.
  *             Chirag Shah
- *
- * This program is free software; you can redistribute it and/or modify it
- * under the terms of the GNU General Public License as published by the Free
- * Software Foundation; either version 2 of the License, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful, but WITHOUT
- * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
- * FITNESS FOR A PARTICULAR PURPOSE.  See the GNU General Public License for
- * more details.
- *
- * You should have received a copy of the GNU General Public License along
- * with this program; see the file COPYING; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
  */
 
 #include <zebra.h>
@@ -39,7 +26,7 @@ static struct log_ref ferr_ospf_warn[] = {
        },
        {
                .code = EC_OSPF_PACKET,
-               .title = "OSPF has detected packet information missmatch",
+               .title = "OSPF has detected packet information mismatch",
                .description = "OSPF has detected that packet information received is incorrect",
                .suggestion = "Ensure interface configuration is correct, gather log files from here and the peer and open an Issue",
        },
@@ -157,6 +144,12 @@ static struct log_ref ferr_ospf_err[] = {
                .description = "OSPF Segment Routing invalid lsa id",
                .suggestion = "Restart OSPF instance, If the problem persists, report the problem for troubleshooting"
        },
+       {
+               .code = EC_OSPF_SR_SID_OVERFLOW,
+               .title = "OSPF SR Segment-ID overflow",
+               .description = "OSPF Segment Routing ID index or label exceed Global or Local Block Range",
+               .suggestion = "Restart OSPF instance, If the problem persists, report the problem for troubleshooting"
+       },
        {
                .code = EC_OSPF_INVALID_ALGORITHM,
                .title = "OSPF SR Invalid Algorithm",
@@ -169,6 +162,12 @@ static struct log_ref ferr_ospf_err[] = {
                .description = "OSPF has attempted to change states when it should not be able to",
                .suggestion = "Gather log files and open an issue",
        },
+       {
+               .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"
+       },
        {
                .code = END_FERR,
        }