]> git.proxmox.com Git - mirror_frr.git/blobdiff - sharpd/sharp_vty.c
zebra: silence harmless ioctl warning when retrieving interface speed
[mirror_frr.git] / sharpd / sharp_vty.c
index 9462eb575c602473cc48622264a917d27a1678dd..797e336c2d2de814d91a6a5e3437d34e9146a9a0 100644 (file)
@@ -191,6 +191,18 @@ DEFPY (remove_routes,
        return CMD_SUCCESS;
 }
 
+DEFUN_NOSH (show_debugging_sharpd,
+           show_debugging_sharpd_cmd,
+           "show debugging [sharp]",
+           SHOW_STR
+           DEBUG_STR
+           "Sharp Information\n")
+{
+       vty_out(vty, "Sharp debugging status\n");
+
+       return CMD_SUCCESS;
+}
+
 void sharp_vty_init(void)
 {
        install_element(ENABLE_NODE, &install_routes_cmd);
@@ -198,5 +210,8 @@ void sharp_vty_init(void)
        install_element(ENABLE_NODE, &vrf_label_cmd);
        install_element(ENABLE_NODE, &watch_nexthop_v6_cmd);
        install_element(ENABLE_NODE, &watch_nexthop_v4_cmd);
+
+       install_element(VIEW_NODE, &show_debugging_sharpd_cmd);
+
        return;
 }