]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/bgp_flowspec_vty.c
bgpd isisd ldpd lib: const drop fixes (SA)
[mirror_frr.git] / bgpd / bgp_flowspec_vty.c
index 978ce6bf4e14a6f4af646573725eed44a4bce593..faa88f98506712aa4052299ff27fd2001d06bda7 100644 (file)
@@ -519,7 +519,7 @@ DEFUN (bgp_fs_local_install_ifname,
 {
        struct bgp *bgp = VTY_GET_CONTEXT(bgp);
        int idx = 0;
-       const char *no = strmatch(argv[0]->text, (char *)"no") ? "no" : NULL;
+       const char *no = strmatch(argv[0]->text, "no") ? "no" : NULL;
        char *ifname = argv_find(argv, argc, "INTERFACE", &idx) ?
                argv[idx]->arg : NULL;