]> git.proxmox.com Git - mirror_frr.git/blobdiff - bgpd/rfapi/rfapi_vty.c
*: Do not cast to the same type
[mirror_frr.git] / bgpd / rfapi / rfapi_vty.c
index 5a84d14bd9da5b16ba2ea938a39933d8f1365009..89f6852e2b579ff75399611539fbc9863a95bf87 100644 (file)
@@ -3428,7 +3428,7 @@ static void clear_vnc_nve_closer(struct rfapi_local_reg_delete_arg *cda)
                                     &cursor)) {
 
                if (pValue->rfd) {
-                       ((struct rfapi_descriptor *)pValue->rfd)->flags |=
+                       pValue->rfd->flags |=
                                RFAPI_HD_FLAG_CLOSING_ADMINISTRATIVELY;
                        rfapi_close(pValue->rfd);
                }