diff options
| author | Donald Sharp <donaldsharp72@gmail.com> | 2022-04-20 07:43:09 -0400 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2022-04-20 07:43:09 -0400 |
| commit | 831a15d3e3352ffe84e3a30144f4fe96f191dd62 (patch) | |
| tree | 90ff686158935fad6a4080ead6375c038752bb7e /pimd/pim_cmd.c | |
| parent | 3d3c38b1d44f4d6f6f04a81fca70fc7ac195812a (diff) | |
| parent | 80a82b567fd98fa8cf12cbdefab25e13f56d655f (diff) | |
Merge pull request #11023 from AbhishekNR/igmp_flag
pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GM
Diffstat (limited to 'pimd/pim_cmd.c')
| -rw-r--r-- | pimd/pim_cmd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/pimd/pim_cmd.c b/pimd/pim_cmd.c index 706a21322b..9d95408cbe 100644 --- a/pimd/pim_cmd.c +++ b/pimd/pim_cmd.c @@ -4065,8 +4065,8 @@ static void show_mroute(struct pim_instance *pim, struct vty *vty, json_object_boolean_true_add( json_ifp_out, "protocolPim"); - if (c_oil->oif_flags[oif_vif_index] - & PIM_OIF_FLAG_PROTO_IGMP) + if (c_oil->oif_flags[oif_vif_index] & + PIM_OIF_FLAG_PROTO_GM) json_object_boolean_true_add( json_ifp_out, "protocolIgmp"); @@ -4110,8 +4110,8 @@ static void show_mroute(struct pim_instance *pim, struct vty *vty, strlcpy(proto, "PIM", sizeof(proto)); } - if (c_oil->oif_flags[oif_vif_index] - & PIM_OIF_FLAG_PROTO_IGMP) { + if (c_oil->oif_flags[oif_vif_index] & + PIM_OIF_FLAG_PROTO_GM) { strlcpy(proto, "IGMP", sizeof(proto)); } |
