]> git.puffer.fish Git - matthieu/frr.git/commitdiff
pim6d: configure ipv6 pim drpriority
authorSarita Patra <saritap@vmware.com>
Mon, 4 Jul 2022 06:05:23 +0000 (23:05 -0700)
committerSarita Patra <saritap@vmware.com>
Mon, 4 Jul 2022 06:05:23 +0000 (23:05 -0700)
Signed-off-by: Sarita Patra <saritap@vmware.com>
pimd/pim_nb_config.c

index 4fff1b31dbc8e530f81c18fa01fc05cf62ad9659..408e86b6984b94b03cc7cdf045eb4f0a7c861061 100644 (file)
@@ -334,10 +334,10 @@ static bool is_pim_interface(const struct lyd_node *dnode)
        pim_enable_dnode =
                yang_dnode_getf(dnode,
                                "%s/frr-pim:pim/address-family[address-family='%s']/pim-enable",
-                               if_xpath, "frr-routing:ipv4");
+                               if_xpath, FRR_PIM_AF_XPATH_VAL);
        igmp_enable_dnode = yang_dnode_getf(dnode,
                        "%s/frr-gmp:gmp/address-family[address-family='%s']/enable",
-                       if_xpath, "frr-routing:ipv4");
+                       if_xpath, FRR_PIM_AF_XPATH_VAL);
 
        if (((pim_enable_dnode) &&
             (yang_dnode_get_bool(pim_enable_dnode, "."))) ||