]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripd/rip_errors.c
Merge pull request #13347 from donaldsharp/bgp_before_light
[mirror_frr.git] / ripd / rip_errors.c
index 363b1b7fb57eb1ed3c37e4050a3273cd44728404..483ea77af158d265b499983600aa3d2fd8bd5d11 100644 (file)
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * RIP-specific error messages.
  * Copyright (C) 2018 Cumulus Networks, Inc.
  *               Donald Sharp
- *
- * 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>
 #include "rip_errors.h"
 
 static struct log_ref ferr_rip_err[] = {
-       {
-               .code = RIP_ERR_PACKET,
-               .title = "RIP Packet Error",
-               .description = "RIP has detected a packet encode/decode issue",
-               .suggestion = "Gather log files from both sides and open a Issue"
-       },
+       {.code = EC_RIP_PACKET,
+        .title = "RIP Packet Error",
+        .description = "RIP has detected a packet encode/decode issue",
+        .suggestion = "Gather log files from both sides and open a Issue"},
        {
                .code = END_FERR,
-       }
-};
+       }};
 
 void rip_error_init(void)
 {