]> git.proxmox.com Git - mirror_frr.git/blobdiff - zebra/debug.c
*: remove second parameter on install_node()
[mirror_frr.git] / zebra / debug.c
index f7ad228a13fcf8cd40cadfe18ec5364be8c3bbf0..a77693d94d860529e08b46897a28ad0b26e6da78 100644 (file)
@@ -471,9 +471,11 @@ DEFPY (debug_zebra_nexthop,
 }
 
 /* Debug node. */
+static int config_write_debug(struct vty *vty);
 struct cmd_node debug_node = {
        .node = DEBUG_NODE,
        .prompt = "",
+       .config_write = config_write_debug,
 };
 
 static int config_write_debug(struct vty *vty)
@@ -589,7 +591,7 @@ void zebra_debug_init(void)
        zebra_debug_nht = 0;
        zebra_debug_nexthop = 0;
 
-       install_node(&debug_node, config_write_debug);
+       install_node(&debug_node);
 
        install_element(VIEW_NODE, &show_debugging_zebra_cmd);