Merge pull request #8223 from mjstapp/fix_pim_nb_sa

pimd: fix coverity SA warning in pim_nb_config.c
This commit is contained in:
Jafar Al-Gharaibeh 2021-03-11 10:27:32 -06:00 committed by GitHub
commit b65540e99a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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);