diff --git a/pimd/pim_nb_config.c b/pimd/pim_nb_config.c index e933207c71..a7d7551cbd 100644 --- a/pimd/pim_nb_config.c +++ b/pimd/pim_nb_config.c @@ -2411,7 +2411,7 @@ int lib_interface_pim_address_family_mroute_oif_modify( } #ifdef PIM_ENFORCE_LOOPFREE_MFC - if (oif && iif && (iif->ifindex == oif->ifindex)) { + if (oif && (iif->ifindex == oif->ifindex)) { strlcpy(args->errmsg, "% IIF same as OIF and loopfree enforcement is enabled; rejecting", args->errmsg_len);