]> git.proxmox.com Git - mirror_frr.git/blobdiff - ospfd/ospf_ri.c
Merge pull request #5549 from donaldsharp/automated
[mirror_frr.git] / ospfd / ospf_ri.c
index 72f6dbe08e220c95e43bf38e1f3cb7f191a140af..5f01edfbdfa75889d454c91d767b62e7a812133a 100644 (file)
@@ -146,7 +146,7 @@ static int ospf_router_info_register(uint8_t scope)
        return rc;
 }
 
-static int ospf_router_info_unregister()
+static int ospf_router_info_unregister(void)
 {
 
        if ((OspfRI.scope != OSPF_OPAQUE_AS_LSA)
@@ -1372,14 +1372,14 @@ static uint16_t show_vty_sr_algorithm(struct vty *vty, struct tlv_header *tlvh)
        }
 
        else {
-               zlog_debug("  Segment Routing Algorithm TLV:\n");
+               zlog_debug("  Segment Routing Algorithm TLV:");
                for (i = 0; i < ntohs(algo->header.length); i++)
                        switch (algo->value[i]) {
                        case 0:
-                               zlog_debug("    Algorithm %d: SPF\n", i);
+                               zlog_debug("    Algorithm %d: SPF", i);
                                break;
                        case 1:
-                               zlog_debug("    Algorithm %d: Strict SPF\n", i);
+                               zlog_debug("    Algorithm %d: Strict SPF", i);
                                break;
                        default:
                                zlog_debug(