]> git.puffer.fish Git - mirror/frr.git/commit
pim6d: Modify "show ipv6 mld join json" o/p 12788/head
authorSarita Patra <saritap@vmware.com>
Thu, 9 Feb 2023 07:38:18 +0000 (23:38 -0800)
committerMergify <37929162+mergify[bot]@users.noreply.github.com>
Fri, 10 Feb 2023 13:08:16 +0000 (13:08 +0000)
commitf6e48df8684ac11882082bb5319dd949062ce6d4
tree184f80d75a66ed8125c6ad289c14fad1237b8781
parentbadd2b2647ef0c54ca32c50e0ab6a0424b308bcc
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>
(cherry picked from commit 58971e1574911fd5bd4f6385c2fa93c999e33604)
pimd/pim6_mld.c