Merge pull request #10598 from mobash-rasool/pim-compile-fix

pimd: Fix Compilation issue in PIM
This commit is contained in:
Igor Ryzhov 2022-02-16 22:15:09 +03:00 committed by GitHub
commit f70faba4f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -8247,7 +8247,7 @@ DEFPY_HIDDEN (interface_ip_igmp_query_generate,
}
/* It takes the igmp version configured on the interface as default */
igmp_version = pim_ifp->version;
igmp_version = pim_ifp->igmp_version;
if (argc > 3)
igmp_version = atoi(argv[4]->arg);