]> git.proxmox.com Git - mirror_frr.git/blobdiff - sharpd/sharp_vty.c
*: Use a `struct prefix *p` instead of a `struct prefix` in functions
[mirror_frr.git] / sharpd / sharp_vty.c
index 1fdac2c286c7f328ac8a97900453f48a855534ff..0d7ba345302a12d18c8d014d609d4d77094c502c 100644 (file)
@@ -1059,7 +1059,7 @@ DEFUN (show_sharp_ted,
                                return CMD_WARNING_CONFIG_FAILED;
                        }
                        /* Get the Subnet from the Link State Database */
-                       subnet = ls_find_subnet(sg.ted, pref);
+                       subnet = ls_find_subnet(sg.ted, &pref);
                        if (!subnet) {
                                vty_out(vty, "No subnet found for ID %pFX\n",
                                        &pref);