]> git.proxmox.com Git - mirror_frr.git/commit - pimd/pim6_mld.c
pim6d: Modify "show ipv6 mld join json" o/p
authorSarita Patra <saritap@vmware.com>
Thu, 9 Feb 2023 07:38:18 +0000 (23:38 -0800)
committerSarita Patra <saritap@vmware.com>
Thu, 9 Feb 2023 08:14:24 +0000 (00:14 -0800)
commit58971e1574911fd5bd4f6385c2fa93c999e33604
treee91d9f7efc008f0c5a2ebdf4081f591108c54583
parentaa16204dfbff980a345dabef38ecf9d368b03879
pim6d: Modify "show ipv6 mld join json" o/p

Currently "show ipv6 mld join json" o/p is
frr# show ipv6 mld joins json
{
  "default":{
    "ens192":{
      "ff02:2":{
        "::":{
          "state":"JOIN",
          "created":"00:01:50.595",
          "lastSeen":"00:00:38.403",
        }
      }
    }
  }
}

Here, I modified the o/p as below for better understanding.
frr# show ipv6 mld joins json
{
  "default":{
    "vrf":"default",
    "ens192":{
      "ff02::2":{
        "*":{
          "state":"JOIN",
          "created":"00:00:42.766",
          "lastSeen":"00:00:05.266"
        }
      }
    }
  }
}

Issue: #12755

Signed-off-by: Sarita Patra <saritap@vmware.com>
pimd/pim6_mld.c