]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_tlv.c
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / pimd / pim_tlv.c
index 70700dd508d1de715715a3e1c4f4b25b4528e8a6..d93a360448edb06fec21146fd20dcecefbe76158 100644 (file)
@@ -657,7 +657,7 @@ int pim_parse_addr_source(struct prefix_sg *sg, uint8_t *flags,
 #define FREE_ADDR_LIST(hello_option_addr_list)                                 \
        {                                                                      \
                if (hello_option_addr_list) {                                  \
-                       list_delete_and_null(&hello_option_addr_list);         \
+                       list_delete(&hello_option_addr_list);                  \
                        hello_option_addr_list = 0;                            \
                }                                                              \
        }