]> git.proxmox.com Git - mirror_frr.git/blobdiff - pimd/pim_hello.c
lib: enforce vrf_name_to_id by returning default_vrf when name is null
[mirror_frr.git] / pimd / pim_hello.c
index 138a110d3a67c87eeb112d78b9b61fdd3d5acb19..e482d321a41b6fef736f0eeeb5843665132f5b9b 100644 (file)
@@ -127,7 +127,7 @@ static void tlv_trace_list(const char *label, const char *tlv_name,
 
 #define FREE_ADDR_LIST                                                         \
        if (hello_option_addr_list) {                                          \
-               list_delete(hello_option_addr_list);                           \
+               list_delete(&hello_option_addr_list);                          \
        }
 
 #define FREE_ADDR_LIST_THEN_RETURN(code)                                       \