diff options
| author | Abhishek N R <abnr@vmware.com> | 2022-04-13 01:00:50 -0700 |
|---|---|---|
| committer | Abhishek N R <abnr@vmware.com> | 2022-04-13 01:19:03 -0700 |
| commit | 80a82b567fd98fa8cf12cbdefab25e13f56d655f (patch) | |
| tree | 9c66b3c72308e71f35026ea352e2ef65e8978152 /pimd/pim_cmd.c | |
| parent | 5cc9af2a6da78f2cd90eb1ff1e761041796a9666 (diff) | |
pimd: Changing PIM_OIF_FLAG_PROTO_IGMP to PIM_OIF_FLAG_PROTO_GM
Modified marco name so that it can be reused in mld.
Signed-off-by: Abhishek N R <abnr@vmware.com>
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 da4069abb3..ad5194a953 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)); } |
