]> git.proxmox.com Git - mirror_frr.git/blobdiff - ripngd/ripng_nb_config.c
Merge pull request #12780 from opensourcerouting/spdx-license-id
[mirror_frr.git] / ripngd / ripng_nb_config.c
index 85f378bc9ebbcb1f1af2ad37f39d1951d6062fa5..006bf79ce8d56cb87d8e9a77e30f6f3a13b721a2 100644 (file)
@@ -1,21 +1,8 @@
+// SPDX-License-Identifier: GPL-2.0-or-later
 /*
  * Copyright (C) 1998 Kunihiro Ishiguro
  * Copyright (C) 2018 NetDEF, Inc.
  *                    Renato Westphal
- *
- * 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>
@@ -163,7 +150,7 @@ int ripngd_instance_default_information_originate_modify(
        ripng = nb_running_get_entry(args->dnode, NULL, true);
        default_information = yang_dnode_get_bool(args->dnode, NULL);
 
-       str2prefix_ipv6("::/0", &p);
+       (void)str2prefix_ipv6("::/0", &p);
        if (default_information) {
                ripng_redistribute_add(ripng, ZEBRA_ROUTE_RIPNG,
                                       RIPNG_ROUTE_DEFAULT, &p, 0, NULL, 0);